8000 GitHub - solo5star/ssh-tunnel: SSH tunneling with Docker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

solo5star/ssh-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-tunnel using docker

When you have something you want to connect beyond the firewall, you can use this Docker image to establish a connection. The usage is very simple.

Simple usage for database connection

docker run \
  --rm \
  -p 3306:3306 \
  -v $HOME/.ssh:/ssh \
  -e TUNNEL_HOST=example.com \
  -e LOCAL_PORT=3306 \
  -e REMOTE_HOST=localhost \
  -e REMOTE_PORT=3306 \
  solo5star/ssh-tunnel

Your ~/.ssh/config file should be:

Host example.com
  HostName example.com
  User solo5star
  IdentityFile ~/.ssh/example.pem

About

SSH tunneling with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0