Skip to content

Instantly share code, notes, and snippets.

@idettman
Created January 4, 2017 17:48
Show Gist options
  • Select an option

  • Save idettman/8f1e66a65eb706036eb86bd7cf8754fc to your computer and use it in GitHub Desktop.

Select an option

Save idettman/8f1e66a65eb706036eb86bd7cf8754fc to your computer and use it in GitHub Desktop.
connect to ssh using proxy
ssh USERNAME@TARGETDOMAIN -o "ProxyCommand=nc -X connect -x PROXYHOST:PROXYPORT %h %p"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment