roles/common: Increase ssh MaxAuthTries from 3 to 4
If a user has RSA, ECDSA, and ED25519 private keys present on their system then the ssh client will offer all of these to the server and they may not get a chance to try password auth before it fails.
This commit is contained in:
@ -31,7 +31,7 @@ LogLevel VERBOSE
|
||||
#LoginGraceTime 2m
|
||||
PermitRootLogin prohibit-password
|
||||
#StrictModes yes
|
||||
MaxAuthTries 3
|
||||
MaxAuthTries 4
|
||||
#MaxSessions 10
|
||||
|
||||
#PubkeyAuthentication yes
|
||||
|
Reference in New Issue
Block a user