summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:26 +0000
commit3a6c0ff8b0c0957a8139983a2e1b1d199568fc7e (patch)
tree51abc0415b9edd0b0bd4c4210ed6cebeeb9da6fc /debian/patches
parentSetting HostCertificate in sshd_config to ED25519 and RSA. (diff)
downloadopenssh-3a6c0ff8b0c0957a8139983a2e1b1d199568fc7e.tar.xz
openssh-3a6c0ff8b0c0957a8139983a2e1b1d199568fc7e.zip
Setting HostKey in sshd_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/progress-linux/0021-sshd_config-HostKey.patch18
-rw-r--r--debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0021-sshd_config-HostKey.patch b/debian/patches/progress-linux/0021-sshd_config-HostKey.patch
new file mode 100644
index 0000000..f408443
--- /dev/null
+++ b/debian/patches/progress-linux/0021-sshd_config-HostKey.patch
@@ -0,0 +1,18 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting HostKey in sshd_config to ED25519 and RSA.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -16,9 +16,8 @@
+ #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
++HostKey /etc/ssh/ssh_host_ed25519_key
++HostKey /etc/ssh/ssh_host_rsa_key
+
+ CASignatureAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256
+ #HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
diff --git a/debian/patches/series b/debian/patches/series
index 3ec9d6e..89e7be8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -54,3 +54,4 @@ progress-linux/0017-sshd_config-KexAlgorithms.patch
progress-linux/0018-sshd_config-MACs.patch
progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch
progress-linux/0020-sshd_config-HostCertificate.patch
+progress-linux/0021-sshd_config-HostKey.patch