Community maintained Docker config for the knot server

Add authorized_keys_command.conf with correct git directory #8

closed opened by ionchy.ca targeting main from ionchy.ca/knot-docker: main

I couldn't push or pull from any repositories until I set -git-dir following the instructions in knot-hosting, so this adds the /etc/ssh/sshd_config.d/authorized_keys_command.conf file to rootfs.

Labels

None yet.

Participants 1
AT URI
at://did:plc:ypsrm6ue6o5xk5kvbdhwtppm/sh.tangled.repo.pull/3m33u3wfnyc22
+3
Diff #0
+3
rootfs/etc/ssh/sshd_config.d/authorized_keys_command.conf
··· 1 + Match User git 2 + AuthorizedKeysCommand /usr/bin/knot keys -o authorized-keys -git-dir /home/git/repositories 3 + AuthorizedKeysCommandUser nobody

Submissions

sign up or login to add to the discussion
ionchy.ca submitted #0
1 commit
expand
Add authorized_keys_command.conf with correct git directory
closed without merging