diff --git a/system/default.nix b/system/default.nix index 0d72b2e..a7037a4 100644 --- a/system/default.nix +++ b/system/default.nix @@ -191,7 +191,7 @@ openssh = { enable = true; settings = { - PasswordAuthentication = true; # Enable password authentication. + PasswordAuthentication = false; # Enable password authentication. PermitRootLogin = "yes"; # Allow root login (not recommended for production). }; };