See here and then add this to /etc/sshsshd_config
:
Match Address 192.168.1.0/24
PasswordAuthentication yes
This allows clients on the local network to login using password authentication while limiting the Internet in general to key-based authentication.
Post a Comment