Sign inSign up

cyberhouse/ssh-tunnel

By cyberhouse

•Updated almost 8 years ago

Image with autossh to create tunnels to other servers

Image
0

1.3K

cyberhouse/ssh-tunnel repository overview

Set variables TUNNEL_MAP to define the tunnel, TUNNEL_HOST as the and mount the ssh config into /root/.ssh.

Then use the "jump" host as run command

eg.:

docker run -e TUNNEL_MAP=8888:solr.internal:8983 -e TUNNEL_HOST=some-host -v $HOME/.ssh:/root/.ssh

Tag summary

Content type

Image

Digest

Size

4.2 MB

Last updated

almost 8 years ago

docker pull cyberhouse/ssh-tunnel