summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:34:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:34:49 +0000
commit5f5ba6030fd22b9ef3c28e19d3538fbe68f71fbd (patch)
tree8339043a3a8cd5dfe9af80b2e4cb3c208f833bce /debian/patches/progress-linux
parentSetting HostbasedAcceptedKeyTypes in sshd_config to ED25519 and RSA. (diff)
downloadopenssh-5f5ba6030fd22b9ef3c28e19d3538fbe68f71fbd.tar.xz
openssh-5f5ba6030fd22b9ef3c28e19d3538fbe68f71fbd.zip
Setting HostKeyAlgorithms in sshd_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r--debian/patches/progress-linux/0016-sshd_config-HostKeyAlgorithms.patch14
1 files changed, 14 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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