Skip to content

Instantly share code, notes, and snippets.

@dalanmiller
Created June 24, 2015 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalanmiller/e68ef5570a236387100c to your computer and use it in GitHub Desktop.
Save dalanmiller/e68ef5570a236387100c to your computer and use it in GitHub Desktop.
How to SSH Tunnel to a Docker container on a remote machine
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