Skip to content

Commit 0bc3bac

Browse files
authored
remove mailto:git part in SSH forwarding call
1 parent 1e85ffa commit 0bc3bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/installation/with-docker.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ sudo -u git ssh-keygen -t rsa -b 4096 -C "Gitea Host Key"
328328
In the next step a file named `/app/gitea/gitea` (with executable permissions) needs to be created on the host. This file will issue the SSH forwarding from the host to the container. Add the following contents to `/app/gitea/gitea`:
329329

330330
```bash
331-
ssh -p 2222 -o StrictHostKeyChecking=no [[email protected]](mailto:[email protected]) "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
331+
ssh -p 2222 -o StrictHostKeyChecking=no [email protected] "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
332332
```
333333

334334
To make the forwarding work, the SSH port of the container (22) needs to be mapped to the host port 2222 in `docker-compose.yml` . Since this port does not need to be exposed to the outside world, it can be mapped to the `localhost` of the host machine:

0 commit comments

Comments
 (0)