From a475b75711be0544c4992a4d753dbb99b0385f8b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 07:19:48 +0200 Subject: Setting KexAlgorithms in sshd_config to Curve25519 and Diffie-Hellman. Signed-off-by: Daniel Baumann --- debian/local/sshd_config.d/modern-ssh.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/local/sshd_config.d/modern-ssh.conf b/debian/local/sshd_config.d/modern-ssh.conf index 3128eea..5c71956 100644 --- a/debian/local/sshd_config.d/modern-ssh.conf +++ b/debian/local/sshd_config.d/modern-ssh.conf @@ -4,3 +4,4 @@ CASignatureAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256 Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr HostbasedAcceptedKeyTypes sk-ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-256 HostKeyAlgorithms sk-ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-256 +KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256 -- cgit v1.2.3