diff --git a/modules/ssh-server.nix b/modules/ssh-server.nix index 0975324..51258a4 100644 --- a/modules/ssh-server.nix +++ b/modules/ssh-server.nix @@ -7,8 +7,6 @@ #ports = [ 22 ]; # Use authorized keys only. settings.PasswordAuthentication = false; - # Forbid/Limit root login through SSH. - #settings.PermitRootLogin = "no"; settings.PermitRootLogin = "prohibit-password"; # Enabling this is required for commands such as sftp and sshfs. allowSFTP = false;