diagram explanation

This commit is contained in:
Kulvir Singh
2025-11-03 01:43:01 +05:30
parent d0f454a230
commit 788b42d6c9

View File

@@ -101,6 +101,11 @@ To achieve this we need to forward SSH connections from the host to the containe
To make this happen Gitea keys are prefixed with `command = ....` which executes the shim script (that we will create).
This script upon execution authenticates the host `git` user to docker container and passes the control to container.
<img
src="https://ghub.lilj.studio/lilJ/self-host-101/raw/branch/trunk/assets/ssh-shim.png"
alt="SSH_SHIM"
/>
**Reference:** [Official Gitea Documentation](https://docs.gitea.com/next/installation/install-with-docker#ssh-container-passthrough)
### 1. Create the `git` User on the Host