From 82926d5d733f976942075d1e739787997d06291f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 12 Jan 2025 14:21:43 +0800 Subject: [PATCH] nixos/suites/server: update default SSH config --- modules/nixos/_private/suites/server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/_private/suites/server.nix b/modules/nixos/_private/suites/server.nix index 8f3f91fd..1ebf51cb 100644 --- a/modules/nixos/_private/suites/server.nix +++ b/modules/nixos/_private/suites/server.nix @@ -48,6 +48,7 @@ in # Both are good for hardening as it only requires the keyfiles. PasswordAuthentication = false; PermitRootLogin = "no"; + PermitEmptyPasswords = "no"; }; };