Comments on: Securing a Linux Server: SSH and Brute-Force Attacks Tech Tips, Reviews, Tutorials, Occasional Rants Sat, 31 Aug 2013 15:50:35 +0000 hourly 1 By: Everett - Tue, 30 Jun 2009 06:02:59 +0000 If you have problems logging in after you disable password login, try typing this command:
tail -f on /var/log/secure

Then watch that window as you login. Usually the problem is permissions on the .ssh directory or the authorized_keys file.