This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:ssh [2019/03/25 04:33] – oemb1905 | computing:ssh [2021/10/15 17:53] (current) – oemb1905 | ||
---|---|---|---|
Line 39: | Line 39: | ||
| | ||
config options for / | config options for / | ||
+ | |||
+ | Port 53535 | ||
+ | PubkeyAuthentication yes | ||
+ | PasswordAuthentication no | ||
+ | PermitRootLogin prohibit-password | ||
Protocol 2 | Protocol 2 | ||
- | AllowUsers | + | AllowUsers |
- | | + | |
+ | PermitEmptyPasswords | ||
+ | X11Forwarding yes | ||
+ | PrintMotd yes | ||
+ | ChallengeResponseAuthentication no | ||
+ | UsePAM yes | ||
+ | |||
+ | Then, always restart the service | ||
| | ||
sudo systemctl restart sshd.service | sudo systemctl restart sshd.service | ||
Line 49: | Line 60: | ||
- | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + | --- //[[jonathan@haacksnetworking.com|oemb1905]] |