summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0021-sshd_config-HostKey.patch
blob: f40844365e540d212b7cbd56a63f1026af9a8802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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