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:
Alan Orth 2019-09-15 15:17:00 +03:00
parent cf16264f53
commit 2740f050fc
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ LogLevel VERBOSE
#LoginGraceTime 2m
PermitRootLogin prohibit-password
#StrictModes yes
MaxAuthTries 3
MaxAuthTries 4
#MaxSessions 10
#PubkeyAuthentication yes

View File

@ -32,7 +32,7 @@ LogLevel VERBOSE
#LoginGraceTime 2m
PermitRootLogin prohibit-password
#StrictModes yes
MaxAuthTries 3
MaxAuthTries 4
#MaxSessions 10
# Password based logins are disabled - only public key based logins are allowed.
AuthenticationMethods publickey

View File

@ -70,7 +70,7 @@ PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
MaxAuthTries 3
MaxAuthTries 4
#MaxStartups 10:30:60
#Banner /etc/issue.net

View File

@ -31,7 +31,7 @@ LogLevel VERBOSE
#LoginGraceTime 2m
PermitRootLogin prohibit-password
#StrictModes yes
MaxAuthTries 3
MaxAuthTries 4
#MaxSessions 10
#PubkeyAuthentication yes