Change the following two lines in /etc/ssh/sshd_config
PasswordAuthentication no ChallengeResponseAuthentication no