User Tools

Site Tools


computing:ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computing:ssh [2019/03/24 22:33]
oemb1905
computing:ssh [2019/03/24 22:35] (current)
oemb1905
Line 39: Line 39:
      
 config options for /etc/ssh/sshd_config config options for /etc/ssh/sshd_config
 +   
 +  Port 53535 
 +  PubkeyAuthentication yes 
 +  PasswordAuthentication no 
 +  PermitRootLogin prohibit-password
   Protocol 2   Protocol 2
-  AllowUsers user +  AllowUsers sally 
-  PermitRootLogin no+  AllowUsers johnny 
 +  PermitEmptyPasswords no 
 +  X11Forwarding yes 
 +  PrintMotd yes 
 +  ChallengeResponseAuthentication no 
 +   
 +Then, always restart the service
      
   sudo systemctl restart sshd.service   sudo systemctl restart sshd.service
computing/ssh.txt · Last modified: 2019/03/24 22:35 by oemb1905