Archive for the ‘linux’ Category

Check SSH login attempts

Monday, December 10th, 2007
cat /var/log/auth.log | grep sshd

To check the zipped ones, use

zcat /var/log/auth.log.1.gz | grep sshd