diff --git a/njallavps/sshd_config b/njallavps/sshd_config index dda13c7..22dfdfd 100644 --- a/njallavps/sshd_config +++ b/njallavps/sshd_config @@ -29,12 +29,12 @@ Port 7625 # Authentication: #LoginGraceTime 2m -#PermitRootLogin prohibit-password +PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10 -#PubkeyAuthentication yes +PubkeyAuthentication yes # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 # but this is overridden so installations will only check .ssh/authorized_keys @@ -55,7 +55,7 @@ AuthorizedKeysFile .ssh/authorized_keys # To disable tunneled clear text passwords, change to no here! PasswordAuthentication no -#PermitEmptyPasswords no +PermitEmptyPasswords no # Change to no to disable s/key passwords KbdInteractiveAuthentication no @@ -103,7 +103,7 @@ PrintMotd no # pam does that #VersionAddendum none # no default banner path -#Banner none +Banner none # override default of no subsystems Subsystem sftp /usr/lib/ssh/sftp-server