Skip to content

Commit be3b2af

Browse files
committed
update ssh client config recommendations
1 parent 8fc978c commit be3b2af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ Set up a secure config for OpenSSH Server >= 6.5. This playbook extends your ssh
1414
#### Recommended `~/.ssh/config`, `/etc/ssh/ssh_config`
1515
```
1616
Host *
17+
HashKnownHosts yes
1718
PasswordAuthentication no
1819
PubkeyAuthentication yes
1920
ChallengeResponseAuthentication no
21+
HostKeyAlgorithms [email protected],[email protected],ssh-ed25519,ssh-rsa,[email protected],[email protected],[email protected],ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256
2022
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256
2123
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
2224
@@ -26,6 +28,7 @@ alias for legacy connections: `alias ssh_ignore="ssh -F /dev/null"`
2628

2729
## Inspired by
2830
* [Secure Secure Shell](https://stribika.github.io/2015/01/04/secure-secure-shell.html)
31+
* [Mozilla Wiki - Security/Guidelines/OpenSSH](https://wiki.mozilla.org/Security/Guidelines/OpenSSH)
2932
* [BetterCrypto](https://github.com/BetterCrypto/Applied-Crypto-Hardening)
3033
* [Manpage sshd_config](http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/sshd_config.5)
3134

0 commit comments

Comments
 (0)