updated sshd_config to be more useful for initial setup
This commit is contained in:
parent
38830880d6
commit
1949e6c19f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user