summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch b/debian/patches/progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch
new file mode 100644
index 0000000..9019a4f
--- /dev/null
+++ b/debian/patches/progress-linux/0019-sshd_config-PubkeyAcceptedKeyTypes.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting PubkeyAcceptedKeyTypes in sshd_config to ED25519 and RSA.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -41,6 +41,7 @@ PermitRootLogin no
+ #MaxSessions 10
+
+ #PubkeyAuthentication yes
++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
+
+ # Expect .ssh/authorized_keys2 to be disregarded by default in future.
+ #AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
diff --git a/debian/patches/series b/debian/patches/series
index bb700d3..02df6c8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -52,3 +52,4 @@ progress-linux/0015-sshd_config-HostbasedAcceptedKeyTypes.patch
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