diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:34:42 +0000 |
commit | 7d20b3ec0d3a68490cacf171f95896fb9408bf04 (patch) | |
tree | 67af700cc6b3d090032e2b84749c6a7be87aa14b /debian/patches/progress-linux | |
parent | Setting Ciphers in sshd_config to ChaCha20 and AES. (diff) | |
download | openssh-7d20b3ec0d3a68490cacf171f95896fb9408bf04.tar.xz openssh-7d20b3ec0d3a68490cacf171f95896fb9408bf04.zip |
Setting HostbasedAcceptedKeyTypes in sshd_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r-- | debian/patches/progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch b/debian/patches/progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch new file mode 100644 index 0000000..0de18b7 --- /dev/null +++ b/debian/patches/progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch @@ -0,0 +1,14 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Setting HostbasedAcceptedKeyTypes in sshd_config to ED25519 and RSA. + +diff -Naurp openssh.orig/sshd_config openssh/sshd_config +--- openssh.orig/sshd_config ++++ openssh/sshd_config +@@ -49,6 +49,7 @@ PermitRootLogin no + + # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts + #HostbasedAuthentication no ++HostbasedAcceptedKeyTypes 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 + # Change to yes if you don't trust ~/.ssh/known_hosts for + # HostbasedAuthentication + #IgnoreUserKnownHosts no |