This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
computing:ssh [2018/05/20 02:09] – oemb1905 | computing:ssh [2019/03/25 04:35] – oemb1905 | ||
---|---|---|---|
Line 37: | Line 37: | ||
ssh -t xx.xx.xx.xx screen -DRO | ssh -t xx.xx.xx.xx screen -DRO | ||
+ | | ||
+ | config options for / | ||
+ | | ||
+ | Port 53535 | ||
+ | PubkeyAuthentication yes | ||
+ | PasswordAuthentication no | ||
+ | PermitRootLogin prohibit-password | ||
+ | Protocol 2 | ||
+ | AllowUsers sally | ||
+ | AllowUsers johnny | ||
+ | PermitEmptyPasswords no | ||
+ | X11Forwarding yes | ||
+ | PrintMotd yes | ||
+ | ChallengeResponseAuthentication no | ||
+ | | ||
+ | Then, always restart the service | ||
+ | | ||
+ | sudo systemctl restart sshd.service | ||
| | ||
+ | |||
--- // | --- // | ||