How to Disable Password Authentication for SSH
vim /etc/ssh/sshd_config ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no /etc/init.d/sshd restart