Fabian Peter Hammerle 660da4f93c added note regarding "host.containers.internal" | há 3 anos atrás | |
---|---|---|
CHANGELOG.md | há 4 anos atrás | |
Dockerfile | há 4 anos atrás | |
README.md | há 4 anos atrás | |
docker-compose.yml | há 5 anos atrás | |
entrypoint.sh | há 3 anos atrás | |
known_hosts | há 5 anos atrás | |
ssh_config | há 5 anos atrás |
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 …