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:~#
the stuff that seems like a no brainer until you try to do it again
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:~#
Leave a Reply