Files
infra-nix/hosts/voyager/modules/ssh.nix
T
2026-07-08 14:28:10 +02:00

16 lines
232 B
Nix

_:
{
services = {
openssh = {
enable = true;
extraConfig = "
Port 51337
PermitRootLogin no
PasswordAuthentication no
MaxSessions 1
MaxAuthTries 1
";
};
};
}