updated sshd_config to be more useful for initial setup

This commit is contained in:
Asif Bacchus 2019-01-01 22:58:43 -07:00
parent 38830880d6
commit 1949e6c19f
1 changed files with 6 additions and 5 deletions

View File

@ -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