diagram explanation
This commit is contained in:
@@ -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).
|
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.
|
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)
|
**Reference:** [Official Gitea Documentation](https://docs.gitea.com/next/installation/install-with-docker#ssh-container-passthrough)
|
||||||
|
|
||||||
### 1. Create the `git` User on the Host
|
### 1. Create the `git` User on the Host
|
||||||
|
|||||||
Reference in New Issue
Block a user