summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:33:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:33:39 +0000
commitb43ae158d9fece9a28fc29287f4e5f3d24844371 (patch)
treee588243e69f0ad18aa2b418005d4366d08dc8ec4
parentSetting Ciphers in ssh_config to ChaCha20 and AES. (diff)
downloadopenssh-b43ae158d9fece9a28fc29287f4e5f3d24844371.tar.xz
openssh-b43ae158d9fece9a28fc29287f4e5f3d24844371.zip
Setting HostbasedKeyTypes in ssh_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0007-ssh_config-HostbasedKeyTypes.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0007-ssh_config-HostbasedKeyTypes.patch b/debian/patches/progress-linux/0007-ssh_config-HostbasedKeyTypes.patch
new file mode 100644
index 0000000..569e44f
--- /dev/null
+++ b/debian/patches/progress-linux/0007-ssh_config-HostbasedKeyTypes.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting HostbasedKeyTypes in ssh_config to ED25519 and RSA.
+
+diff -Naurp openssh.orig/ssh_config openssh/ssh_config
+--- openssh.orig/ssh_config
++++ openssh/ssh_config
+@@ -23,6 +23,7 @@ Host *
+ # ForwardX11Trusted yes
+ # PasswordAuthentication yes
+ # HostbasedAuthentication no
++ HostbasedKeyTypes 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
+ GSSAPIAuthentication yes
+ # GSSAPIDelegateCredentials no
+ # GSSAPIKeyExchange no
diff --git a/debian/patches/series b/debian/patches/series
index 1de170d..3bae4ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -40,3 +40,4 @@ progress-linux/0003-ssh-keygen-default-ecdsa-size.patch
progress-linux/0004-ssh_config-update.patch
progress-linux/0005-ssh_config-CASignatureAlgorithms.patch
progress-linux/0006-ssh_config-Ciphers.patch
+progress-linux/0007-ssh_config-HostbasedKeyTypes.patch