roles/common: Limit number of SSH authentication attempts
The default in later OpenSSH is 6, which seems too high. If you can't get your password correct after 3 tries then I think you need help. Eventually I'd like an easy way to enable blocking of repeated login attempts at the firewall level. I think it's possible in firewalld.
This commit is contained in:
@ -70,6 +70,7 @@ PrintLastLog yes
|
||||
TCPKeepAlive yes
|
||||
#UseLogin no
|
||||
|
||||
MaxAuthTries 3
|
||||
#MaxStartups 10:30:60
|
||||
#Banner /etc/issue.net
|
||||
|
||||
|
Reference in New Issue
Block a user