README.md 553 B

docker: ssh remote forwarding 🐳

repo: https://git.hammerle.me/fphammerle/docker-ssh-remote-forwarding

docker hub: https://hub.docker.com/r/fphammerle/ssh-remote-forwarding

forward tcp port 22/ssh

$ 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"

connect via jump host

$ ssh -J serveo.net host-alias