Fabian Peter Hammerle e2b7162107 Merge branch 'master' into armv6l | 5 gadi atpakaļ | |
---|---|---|
Dockerfile | 5 gadi atpakaļ | |
Makefile | 5 gadi atpakaļ | |
README.md | 5 gadi atpakaļ | |
entrypoint.sh | 5 gadi atpakaļ | |
known_hosts | 5 gadi atpakaļ | |
ssh_config | 5 gadi atpakaļ |
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