diff --git a/rootfs/etc/ssh/sshd_config.d/authorized_keys_command.conf b/rootfs/etc/ssh/sshd_config.d/authorized_keys_command.conf new file mode 100644 index 0000000..ec43e5b --- /dev/null +++ b/rootfs/etc/ssh/sshd_config.d/authorized_keys_command.conf @@ -0,0 +1,3 @@ +Match User git + AuthorizedKeysCommand /usr/bin/knot keys -o authorized-keys -git-dir /home/git/repositories + AuthorizedKeysCommandUser nobody