Hello,
I just installed 11.1 RELEASE and I turned on password authentication to get ssh working with putty. I then added my ssh keys from a different computer, which works just fine. Now, I attempted to turn OFF password authentication and the server is still allowing it if I don't supply an ssh key:
I've restarted sshd using
Any ideas what I've done wrong?
Cheers,
Dinsdale
I just installed 11.1 RELEASE and I turned on password authentication to get ssh working with putty. I then added my ssh keys from a different computer, which works just fine. Now, I attempted to turn OFF password authentication and the server is still allowing it if I don't supply an ssh key:
Code:
login as: russellh
Using keyboard-interactive authentication.
Password for russellh@sylvester:
Last login: Sun Jun 3 13:41:22 2018 from 192.168.1.130
FreeBSD 11.1-RELEASE (GENERIC) #0: Sat Jun 2 22:49:42 PDT 2018
Welcome to FreeBSD!
...
russellh@sylvester:~ % cat /etc/ssh/sshd_config | grep PasswordAuthentication
PasswordAuthentication no
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication, then enable this but set PasswordAuthentication
russellh@sylvester:~ %
I've restarted sshd using
service sshd restart
and rebooted the computer twice. I still am allowed to password authentication. Any ideas what I've done wrong?
Cheers,
Dinsdale