summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:34:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:34:12 +0000
commit05bea48690e9bbb0954c65b1b2f22f069b7cbd09 (patch)
tree1198990dfbc21f7b028dfb95152203def528e5f9 /debian
parentSetting PubkeyAcceptedKeyTypes in ssh_config to ED25519 and RSA. (diff)
downloadopenssh-05bea48690e9bbb0954c65b1b2f22f069b7cbd09.tar.xz
openssh-05bea48690e9bbb0954c65b1b2f22f069b7cbd09.zip
Setting IdentityFile in ssh_config to ED25519 and RSA.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0012-ssh_config-IdentityFile.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0012-ssh_config-IdentityFile.patch b/debian/patches/progress-linux/0012-ssh_config-IdentityFile.patch
new file mode 100644
index 0000000..aa3d576
--- /dev/null
+++ b/debian/patches/progress-linux/0012-ssh_config-IdentityFile.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting IdentityFile in ssh_config to ED25519 and RSA.
+
+diff -Naurp openssh.orig/ssh_config openssh/ssh_config
+--- openssh.orig/ssh_config
++++ openssh/ssh_config
+@@ -35,10 +35,8 @@ Host *
+ # ConnectTimeout 0
+ PubkeyAcceptedKeyTypes 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
+ # StrictHostKeyChecking ask
+-# IdentityFile ~/.ssh/id_rsa
+-# IdentityFile ~/.ssh/id_dsa
+-# IdentityFile ~/.ssh/id_ecdsa
+-# IdentityFile ~/.ssh/id_ed25519
++ IdentityFile ~/.ssh/id_ed25519
++ IdentityFile ~/.ssh/id_rsa
+ # Port 22
+ # Protocol 2
+ CASignatureAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256
diff --git a/debian/patches/series b/debian/patches/series
index ca1856b..95cbb52 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -45,3 +45,4 @@ progress-linux/0008-ssh_config-HostKeyAlgorithms.patch
progress-linux/0009-ssh_config-KexAlgorithms.patch
progress-linux/0010-ssh_config-MACs.patch
progress-linux/0011-ssh_config-PubkeyAcceptedKeyTypes.patch
+progress-linux/0012-ssh_config-IdentityFile.patch