diff options
author | zeripath <art27@cantab.net> | 2022-01-23 17:25:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 12:25:25 -0500 |
commit | 8472884cefc4a52d7e383648b3591392bd9b6e4c (patch) | |
tree | e526dacffa7e55be9834c697880cb6238f2a35ef /docs/content/doc/installation/with-docker-rootless.en-us.md | |
parent | e36f0b6addccd0511b38bf006fe167764275867e (diff) | |
download | gitea-8472884cefc4a52d7e383648b3591392bd9b6e4c.tar.gz gitea-8472884cefc4a52d7e383648b3591392bd9b6e4c.zip |
Update the SSH passthrough documentation (#18366)
Diffstat (limited to 'docs/content/doc/installation/with-docker-rootless.en-us.md')
-rw-r--r-- | docs/content/doc/installation/with-docker-rootless.en-us.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/doc/installation/with-docker-rootless.en-us.md b/docs/content/doc/installation/with-docker-rootless.en-us.md index f28d506231..b5bc660afb 100644 --- a/docs/content/doc/installation/with-docker-rootless.en-us.md +++ b/docs/content/doc/installation/with-docker-rootless.en-us.md @@ -322,8 +322,15 @@ Match User git AuthorizedKeysCommand /usr/bin/docker exec -i gitea /usr/local/bin/gitea keys -c /etc/gitea/app.ini -e git -u %u -t %t -k %k ``` +(From 1.16.0 you will not need to set the `-c /etc/gitea/app.ini` option.) + All that is left to do is restart the SSH server: ```bash sudo systemctl restart sshd ``` + +**Notes** + +This isn't actually using the docker SSH - it is simply using the commands around it. +You could theoretically not run the internal SSH server. |