summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:52:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:52:36 +0000
commit6606106643dd2c2094e713e27a7b931a7c112977 (patch)
treefb91df551b379d6041c27af872d3fad5959b20a6 /debian
parentSetting HostKey in sshd_config to ED25519. (diff)
downloadopenssh-6606106643dd2c2094e713e27a7b931a7c112977.tar.xz
openssh-6606106643dd2c2094e713e27a7b931a7c112977.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')
-rw-r--r--debian/local/sshd_config.d/user-keys.conf3
-rw-r--r--debian/openssh-server.dirs1
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/local/sshd_config.d/user-keys.conf b/debian/local/sshd_config.d/user-keys.conf
new file mode 100644
index 0000000..a92a375
--- /dev/null
+++ b/debian/local/sshd_config.d/user-keys.conf
@@ -0,0 +1,3 @@
+# /etc/ssh/sshd_config.d/user-keys.conf
+
+AuthorizedKeysFile /etc/ssh/authorized_keys/%u .ssh/authorized_keys
diff --git a/debian/openssh-server.dirs b/debian/openssh-server.dirs
index 6639eca..4ee9a32 100644
--- a/debian/openssh-server.dirs
+++ b/debian/openssh-server.dirs
@@ -1 +1,2 @@
+etc/ssh/authorized_keys
etc/ssh/sshd_config.d