summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch
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 /debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch
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>
Diffstat (limited to 'debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch')
-rw-r--r--debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch15
1 files changed, 15 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