Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Created August 7, 2014 16:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwbarnett/53fcb580d0023a29405a to your computer and use it in GitHub Desktop.
Save jasonwbarnett/53fcb580d0023a29405a to your computer and use it in GitHub Desktop.
How to SSH proxy through another host
jbarnett@Hackintosh-10 ~ $ cat ~/.ssh/config
Host r176.spigit.com r178.spigit.com
ProxyCommand ssh -T operations002.c.mindjet-gce-stack.internal 'nc %h %p'
jbarnett@Hackintosh-10 ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment