暂无描述

Fabian Peter Hammerle f9fe0cdd50 from arch-agnostic alpine image 5 年之前
Dockerfile 2cca15c3dd from arch-agnostic alpine image 5 年之前
Makefile 4b152b578c make: added docker-build target 5 年之前
README.md 09c5679a74 readme: added whale emoji 5 年之前
entrypoint.sh b533f34636 forward tcp port 22 of docker host to serveo.net 5 年之前
known_hosts b533f34636 forward tcp port 22 of docker host to serveo.net 5 年之前
ssh_config b533f34636 forward tcp port 22 of docker host to serveo.net 5 年之前

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