Check SSH login attempts
cat /var/log/auth.log | grep sshd
To check the zipped ones, use
zcat /var/log/auth.log.1.gz | grep sshd
cat /var/log/auth.log | grep sshd
To check the zipped ones, use
zcat /var/log/auth.log.1.gz | grep sshd