This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:ssh [2018/11/07 01:09] – oemb1905 | computing:ssh [2026/09/11 17:39] (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 | ||
| | | ||
| - | Enable Firewall | + | Debian 14 changes to ssh. The kex packets are so large they may not traverse on vpn connections, |
| - | https:// | + | KexAlgorithms curve25519-sha256,ecdh-sha2-nistp256, |
| - | + | ||
| - | https://www.digitalocean.com/community/ | + | On the box reaching out or from which you are connecting, open '' |
| - | + | ||
| - | https:// | + | |
| - | https:// | + | KexAlgorithms curve25519-sha256 |
| + | IPQoS none | ||
| - | https:// | + | If you have not yet noticed, nor made any changes and need to connect quickly, use the following: |
| - | https:// | + | ssh -o KexAlgorithms=curve25519-sha256 |
| + | Then, if you use git across a vpn, you will now need to accept those environment variables. So on the git server' | ||
| - | --- // | + | AcceptEnv LANG LC_* GIT_PROTOCOL |
| + | --- // | ||