6 lines
305 B
Django/Jinja
6 lines
305 B
Django/Jinja
# 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
|