mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 14:43:52 +03:00
parent
bc0d2c8ada
commit
35541f853b
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ Add the following block to `/etc/ssh/sshd_config`, on the host:
|
||||||
```bash
|
```bash
|
||||||
Match User git
|
Match User git
|
||||||
AuthorizedKeysCommandUser git
|
AuthorizedKeysCommandUser git
|
||||||
AuthorizedKeysCommand ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 /usr/local/bin/gitea keys -c /data/gitea/conf/app.ini -e git -u %u -t %t -k %k
|
AuthorizedKeysCommand /usr/bin/ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 /usr/local/bin/gitea keys -c /data/gitea/conf/app.ini -e git -u %u -t %t -k %k
|
||||||
```
|
```
|
||||||
|
|
||||||
(From 1.16.0 you will not need to set the `-c /data/gitea/conf/app.ini` option.)
|
(From 1.16.0 you will not need to set the `-c /data/gitea/conf/app.ini` option.)
|
||||||
|
|
Loading…
Reference in a new issue