SSH – How to Limit Failed SSH Logins

fedoralinuxpamSecurityssh

I would like to limit failure retries on my Fedora machine to 5. I think I can accomplish it with PAM. But was unable to to do this.

I have referred to this article to do this

http://www.puschitz.com/SecuringLinux.shtml

Please provide suggestions

Best Answer

You might be interested in fail2ban.