Fabian Peter Hammerle 660da4f93c added note regarding "host.containers.internal" | il y a 3 ans | |
---|---|---|
CHANGELOG.md | il y a 4 ans | |
Dockerfile | il y a 4 ans | |
README.md | il y a 4 ans | |
docker-compose.yml | il y a 5 ans | |
entrypoint.sh | il y a 3 ans | |
known_hosts | il y a 5 ans | |
ssh_config | il y a 5 ans |
repo: https://git.hammerle.me/fphammerle/docker-ssh-remote-forwarding
docker hub: https://hub.docker.com/r/fphammerle/ssh-remote-forwarding
$ docker run --rm -e BIND_ADDRESS=host-alias fphammerle/ssh-remote-forwarding
+ exec /bin/sh -c 'ssh -T -R $BIND_ADDRESS:22:$DOCKER_HOST_ADDRESS:22 serveo.net'
Hi there
Authenticated to serveo.net ([159.89.214.31]:22).
Forwarding SSH traffic from alias "host-alias"
$ ssh -J serveo.net host-alias
$ docker run -e BIND_PORT=2222 …