diff --git a/config/etc/ssh/sshd_config b/config/etc/ssh/sshd_config index c638227..e16ff59 100644 --- a/config/etc/ssh/sshd_config +++ b/config/etc/ssh/sshd_config @@ -12,9 +12,10 @@ ClientAliveCountMax 30 Protocol 2 ### Authentication settings -HostKey /etc/ssh/ed25519.key -HostKey /etc/ssh/RSA4096.key -PasswordAuthentication no +HostKey /etc/ssh/ed25519.key.pub +HostKey /etc/ssh/RSA4096.key.pub +#PasswordAuthentication no +PasswordAuthentication yes PermitEmptyPasswords no ChallengeResponseAuthentication no UsePAM yes @@ -24,8 +25,8 @@ AuthorizedKeysFile .ssh/authorized_keys LoginGraceTime 1M MaxAuthTries 3 MaxSessions 5 -#PermitRootLogin prohibit-password -PermitRootLogin no +#PermitRootLogin no +PermitRootLogin yes ### Program settings Banner /etc/ssh/banner