diff --git a/roles/native-sshd/templates/sshd_config b/roles/native-sshd/templates/sshd_config index b4426f52..c5057301 100644 --- a/roles/native-sshd/templates/sshd_config +++ b/roles/native-sshd/templates/sshd_config @@ -15,7 +15,7 @@ #ListenAddress 0.0.0.0 #ListenAddress :: -#HostKey /etc/ssh/ssh_host_rsa_key +#HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key #HostKey /etc/ssh/ssh_host_ed25519_key @@ -30,7 +30,7 @@ # Authentication: #LoginGraceTime 2m -PermitRootLogin without-password +PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10