Jump to content

SSH: Difference between revisions

365 bytes added ,  3 years ago
Line 43:
 
sudo service sshd restart
 
== Password from LAN, Key from Internet ==
 
Source: [https://ubuntuforums.org/showthread.php?t=1303735 ubuntuforums.org]
 
# require a key for everybody
PasswordAuthentication no
# any member of the group 'downstairs' can log in without a key
# while connecting from the subnet
Match Address 192.168.0.0/16 Group downstairs
PasswordAuthentication yes
 
 
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.