Created
June 24, 2015 00:55
-
-
Save dalanmiller/e68ef5570a236387100c to your computer and use it in GitHub Desktop.
How to SSH Tunnel to a Docker container on a remote machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -nNT -L port_on_local_machine:ip_of_docker_container_on_remote_host:port_of_docker_container_on_remote_host username@remote_host | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment