From 0f906094985dd3d009fe568f4f8ffcba810ca40c Mon Sep 17 00:00:00 2001 From: janis Date: Thu, 6 Nov 2025 10:53:55 +0100 Subject: [PATCH] disable ssh password auth --- system/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). }; };