From e5379891a54ef94cc06ade7076dddb86dfa526d3 Mon Sep 17 00:00:00 2001 From: janis Date: Tue, 18 Nov 2025 18:05:51 +0100 Subject: [PATCH] disable ssh password auth --- system/core.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core.nix b/system/core.nix index 580d232..31741c2 100644 --- a/system/core.nix +++ b/system/core.nix @@ -59,7 +59,7 @@ openssh = { enable = true; settings = { - PasswordAuthentication = true; # Enable password authentication. + PasswordAuthentication = false; # Enable password authentication. PermitRootLogin = "yes"; # Allow root login (not recommended for production). }; };