Sen descrición

Fabian Peter Hammerle e2b7162107 Merge branch 'master' into armv6l %!s(int64=5) %!d(string=hai) anos
Dockerfile b533f34636 forward tcp port 22 of docker host to serveo.net %!s(int64=5) %!d(string=hai) anos
Makefile 4b152b578c make: added docker-build target %!s(int64=5) %!d(string=hai) anos
README.md 09c5679a74 readme: added whale emoji %!s(int64=5) %!d(string=hai) anos
entrypoint.sh b533f34636 forward tcp port 22 of docker host to serveo.net %!s(int64=5) %!d(string=hai) anos
known_hosts b533f34636 forward tcp port 22 of docker host to serveo.net %!s(int64=5) %!d(string=hai) anos
ssh_config 74d4877fd2 set ServerAliveInterval to prevent idle connection from timing out %!s(int64=5) %!d(string=hai) anos

README.md

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