Image with autossh to create tunnels to other servers
1.3K
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
Content type
Image
Digest
Size
4.2 MB
Last updated
almost 8 years ago
docker pull cyberhouse/ssh-tunnel