This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:ssh [2018/07/21 16:43] – oemb1905 | computing:ssh [2021/10/15 17:53] (current) – oemb1905 | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| ssh -t xx.xx.xx.xx screen -DRO | ssh -t xx.xx.xx.xx screen -DRO | ||
| | | ||
| - | config options | + | config options |
| + | |||
| + | Port 53535 | ||
| + | PubkeyAuthentication yes | ||
| + | PasswordAuthentication no | ||
| + | PermitRootLogin prohibit-password | ||
| Protocol 2 | Protocol 2 | ||
| - | AllowUsers | + | AllowUsers |
| + | AllowUsers johnny | ||
| + | PermitEmptyPasswords no | ||
| + | X11Forwarding yes | ||
| + | PrintMotd yes | ||
| + | ChallengeResponseAuthentication no | ||
| + | UsePAM yes | ||
| + | |||
| + | Then, always restart the service | ||
| + | |||
| + | sudo systemctl restart sshd.service | ||
| | | ||
| - | Enable Firewall | ||
| - | https:// | ||
| - | |||
| - | |||
| - | | ||
| - | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.com|oemb1905]] |