summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:35:32 +0000
commitbea4fc7a926c436c10529cb40642ef8b91f0d405 (patch)
tree3a0d38480dec00e34b709ed80259f7fc86449f61 /debian/patches/progress-linux
parentSetting HostKey in sshd_config to ED25519 and RSA. (diff)
downloadopenssh-bea4fc7a926c436c10529cb40642ef8b91f0d405.tar.xz
openssh-bea4fc7a926c436c10529cb40642ef8b91f0d405.zip
Setting AuthorizedKeysFile in sshd_config to /etc/ssh/authorized_keys/%u .ssh/authorized_keys.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux')
-rw-r--r--debian/patches/progress-linux/0022-sshd_config-AuthorizedKeysFile.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0022-sshd_config-AuthorizedKeysFile.patch b/debian/patches/progress-linux/0022-sshd_config-AuthorizedKeysFile.patch
new file mode 100644
index 0000000..14d7cc8
--- /dev/null
+++ b/debian/patches/progress-linux/0022-sshd_config-AuthorizedKeysFile.patch
@@ -0,0 +1,17 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting AuthorizedKeysFile in sshd_config to /etc/ssh/authorized_keys/%u .ssh/authorized_keys.
+
+diff -Naurp openssh.orig/sshd_config openssh/sshd_config
+--- openssh.orig/sshd_config
++++ openssh/sshd_config
+@@ -43,9 +43,7 @@ PermitRootLogin no
+
+ #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
++AuthorizedKeysFile /etc/ssh/authorized_keys/%u .ssh/authorized_keys
+
+ #AuthorizedPrincipalsFile none
+