From 431f3f93be826e50d3064c6c7eade66550afd149 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:35:20 +0200 Subject: Setting HostCertificate in sshd_config to ED25519 and RSA. Signed-off-by: Daniel Baumann --- .../progress-linux/0020-sshd_config-HostCertificate.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0020-sshd_config-HostCertificate.patch 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 +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 -- cgit v1.2.3