Files
alo-cluster/common/sshd.nix

15 lines
241 B
Nix

{
services.openssh = {
enable = true;
allowSFTP = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
networking.firewall = {
allowedTCPPorts = [ 22 ];
};
}