root@raspberry-pi:~# cat /etc/ssh/sshd_config | grep ^Password
PasswordAuthentication no

root@raspberry-pi:~# /etc/init.d/ssh restart
[ ok ] Restarting OpenBSD Secure Shell server: sshd.
root@raspberry-pi:~#