ansible
This commit is contained in:
parent
b81f7e15b2
commit
67414814c0
23 changed files with 310 additions and 190 deletions
6
ansible/roles/forgejo/templates/sshd-forgejo.conf.j2
Normal file
6
ansible/roles/forgejo/templates/sshd-forgejo.conf.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Forgejo SSH passthrough configuration
|
||||
# Delegates SSH key authentication for git user to Forgejo container
|
||||
|
||||
Match User git
|
||||
AuthorizedKeysCommand /usr/bin/docker exec -i -u git forgejo /usr/local/bin/forgejo keys -c /data/gitea/conf/app.ini -e git -u %u -t %t -k %k
|
||||
AuthorizedKeysCommandUser git
|
||||
Loading…
Add table
Add a link
Reference in a new issue