From 67a184fafe0fc6f6c3866d7973572b3c3840fd13 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Sat, 12 Feb 2022 18:07:58 +0100 Subject: [PATCH] harden sshd according to audit results --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c9eff01..d7087fe 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,11 @@ net.ipv6.conf.all.autoconf = 0 /etc/ssh/sshd_config: Port 22 Port 2022 +... +# Ciphers and keying +#RekeyLimit default none +Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com +KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 ```