summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0017-sshd_config-KexAlgorithms.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 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
diff --git a/debian/patches/series b/debian/patches/series
index c281fc7..7109e8b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -50,3 +50,4 @@ progress-linux/0013-sshd_config-CASignatureAlgorithms.patch
progress-linux/0014-sshd_config-Ciphers.patch
progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch
progress-linux/0016-sshd_config-HostKeyAlgorithms.patch
+progress-linux/0017-sshd_config-KexAlgorithms.patch