summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:20 +0000
commit431f3f93be826e50d3064c6c7eade66550afd149 (patch)
treef4b8e720057a77a1f4d43f6e82cf59f7d9c419b6
parentSetting PubkeyAcceptedKeyTypes in sshd_config to ED25519 and RSA. (diff)
downloadopenssh-431f3f93be826e50d3064c6c7eade66550afd149.tar.xz
openssh-431f3f93be826e50d3064c6c7eade66550afd149.zip
Setting HostCertificate in sshd_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch b/debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch
new file mode 100644
index 0000000..f6a7015
--- /dev/null
+++ b/debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting HostCertificate in sshd_config to ED25519 and RSA.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -21,6 +21,8 @@ HostKeyAlgorithms ssh-ed25519-cert-v01@o
+ #HostKey /etc/ssh/ssh_host_ed25519_key
+
+ CASignatureAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256
++#HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
++#HostCertificate /etc/ssh/ssh_host_rsa_key-cert.pub
+
+ # Ciphers and keying
+ Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
diff --git a/debian/patches/series b/debian/patches/series
index 02df6c8..3ec9d6e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -53,3 +53,4 @@ progress-linux/0016-sshd_config-HostKeyAlgorithms.patch
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