summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch')
-rw-r--r--debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch b/debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch
new file mode 100644
index 0000000..5490d9b
--- /dev/null
+++ b/debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting KexAlgorithms in sshd_config to Curve25519 and Diffie-Hellman.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -24,6 +24,7 @@ CASignatureAlgorithms ssh-ed25519,rsa-sh
+
+ # Ciphers and keying
+ Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
++KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group14-sha256,diffie-hellman-group-exchange-sha256
+ #RekeyLimit default none
+
+ # Logging