Use Pam_Tally2 to Lock and Unlock SSH Failed Login Attempts


To check the user fail login count:

# pam_tally2 –user=<user name>

To reset or unlock the user acount to enable access again:

# pam_tally2 –user=<user name> –reset