diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 05:19:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 05:19:49 +0000 |
commit | f1a01a4ef945160bd13fc57a1d900003a40be196 (patch) | |
tree | 7b88ad19912fcefbb2aeb183cf8c8d626b20d708 | |
parent | Setting HostKey in sshd_config to ED25519 and RSA. (diff) | |
download | openssh-f1a01a4ef945160bd13fc57a1d900003a40be196.tar.xz openssh-f1a01a4ef945160bd13fc57a1d900003a40be196.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>
-rw-r--r-- | debian/local/sshd_config.d/user-keys.conf | 3 | ||||
-rw-r--r-- | debian/openssh-server.dirs | 1 |
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 |