Determine the number of ssh failed login attempts on a Linux server
Weekly log-in attemps are recorded in /var/log/auth.log.
Just grep for "Failed" to determine the number of failed log-in attempts.
$ cat /var/log/auth.log | grep Failed | wc
Enter an IP address in www.maxmind.com to determine where and from who these attacks
may originate.
See also