@@ -24,7 +24,7 @@ with lib;
24 # Allow root logins only using the SSH key that the user specified
24 # Allow root logins only using the SSH key that the user specified
25 # at instance creation time, ping client connections to avoid timeouts
25 # at instance creation time, ping client connections to avoid timeouts
26 services.openssh.enable = true;
26 services.openssh.enable = true;
27− services.openssh.permitRootLogin = "without-password";
27+ services.openssh.permitRootLogin = "prohibit-password";
28 services.openssh.extraConfig = ''
28 services.openssh.extraConfig = ''
29 ClientAliveInterval 180
29 ClientAliveInterval 180