From 5f5ba6030fd22b9ef3c28e19d3538fbe68f71fbd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:34:49 +0200 Subject: Setting HostKeyAlgorithms in sshd_config to ED25519 and RSA. Signed-off-by: Daniel Baumann --- .../0016-sshd_config-HostKeyAlgorithms.patch | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/progress-linux/0016-sshd_config-HostKeyAlgorithms.patch diff --git a/debian/patches/progress-linux/0016-sshd_config-HostKeyAlgorithms.patch b/debian/patches/progress-linux/0016-sshd_config-HostKeyAlgorithms.patch new file mode 100644 index 0000000..9087574 --- /dev/null +++ b/debian/patches/progress-linux/0016-sshd_config-HostKeyAlgorithms.patch @@ -0,0 +1,14 @@ +Author: Daniel Baumann +Description: Setting HostKeyAlgorithms in sshd_config to ED25519 and RSA. + +diff -Naurp openssh.orig/sshd_config openssh/sshd_config +--- openssh.orig/sshd_config ++++ openssh/sshd_config +@@ -15,6 +15,7 @@ + #ListenAddress 0.0.0.0 + #ListenAddress :: + ++HostKeyAlgorithms 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 + #HostKey /etc/ssh/ssh_host_rsa_key + #HostKey /etc/ssh/ssh_host_ecdsa_key + #HostKey /etc/ssh/ssh_host_ed25519_key diff --git a/debian/patches/series b/debian/patches/series index 183bcbf..c281fc7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -49,3 +49,4 @@ progress-linux/0012-ssh_config-IdentityFile.patch 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 -- cgit v1.2.3