0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-01-21 02:12:15 -05:00

add hint how to use ssh access to remote mirror repository

This commit is contained in:
derReparierer 2024-12-01 18:48:08 +00:00
parent 9a59a36913
commit b93fcff2e8

View file

@ -82,7 +82,7 @@ Forgejo supports the use of SSH as an authentication method for push mirrors.
You can enable this when adding a new push mirror, existing push mirrors cannot be configured to use SSH.
This feature is only available if Forgejo is able to find the `ssh` executable.
To use SSH as authentication method, select the **Use SSH authentication** option in the authorization tab when adding a new push mirror.
To use SSH as authentication method, select the **Use SSH authentication** option in the authorization tab when adding a new push mirror. Make sure to use ssh conform URLs for **Git Remote Repository URL**, which is e.g. `git@github.com:<your_github_group>/<your_github_project>.git` for GitHub (differs to the default authorization approach as mentioned above).
Make sure to not fill in the **Username** or **Password** input.
Forgejo generates an Ed25519 SSH key pair and saves it for you.