root@host [/var/log]# tail -f secure
Jan 3 20:16:10 host sshd[22670]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.142.131.120 user=root
Jan 3 20:16:12 host sshd[22670]: Failed password for root from 61.142.131.120 port 9303 ssh2
Jan 3 20:16:15 host sshd[22670]: Failed password for root from 61.142.131.120 port 9303 ssh2
Jan 3 20:16:18 host sshd[22670]: Failed password for root from 61.142.131.120 port 9303 ssh2
Jan 3 20:16:18 host sshd[22684]: Disconnecting: Too many authentication failures for root
Jan 3 20:16:18 host sshd[22670]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.142.131.120 user=root
Jan 3 20:16:26 host sshd[23127]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.142.131.120 user=root
Jan 3 20:16:28 host sshd[23127]: Failed password for root from 61.142.131.120 port 33913 ssh2
Jan 3 20:16:29 host sshd[23127]: Failed password for root from 61.142.131.120 port 33913 ssh2
Jan 3 20:16:30 host sshd[23154]: Connection closed by 61.142.131.120
61.142.131.120 is NOT my IP. So I do not know who that guy is. Moreover I can't login as root. I was lucky that I managed to logged in once. Now, even after I passwd to change password I still can't login to either whm or root.
Notice report of failed password in secure keeps coming even though I simply do not try to login anymore.
Finally things work again but with strange log
Jan 3 20:21:51 host sshd[1252]: reverse mapping checking getaddrinfo for fm-dyn-139-193-157-62.fast.net.id [139.193.157.62] failed - POSSIBLE BREAK-IN ATTEMPT!
Jan 3 20:21:55 host sshd[1252]: Accepted password for root from 139.193.157.62 port 29144 ssh2
Jan 3 20:21:55 host sshd[1252]: pam_unix(sshd:session): session opened for user root by (uid=0)
What does it mean by getaddrinfo doesn't work?
without-password(requiring an ssh key to login). Otherwise, you open yourself up to people trying to bruteforce the password. – cpast Jan 4 at 4:35