diff --git a/modules/core/sshd.nix b/modules/core/sshd.nix index 6e9e8de..fc139c1 100644 --- a/modules/core/sshd.nix +++ b/modules/core/sshd.nix @@ -4,9 +4,9 @@ enable = true; ports = [22]; settings = { - PasswordAuthentication = true; + PasswordAuthentication = false; AllowUsers = null; - PermitRootLogin = "yes"; + PermitRootLogin = "no"; LoginGraceTime = 0; }; };