Skip to content

Instantly share code, notes, and snippets.

@henriquegogo
Created February 2, 2015 17:18
Show Gist options
  • Save henriquegogo/be53a6618e4b43edbb57 to your computer and use it in GitHub Desktop.
Save henriquegogo/be53a6618e4b43edbb57 to your computer and use it in GitHub Desktop.
Use SSH through HTTP proxy
# ~/.ssh/config
Host foobar-proxy.example.com
HostName foobar.example.com
ProxyCommand nc -X connect -x proxyhost:proxyport %h %p
ServerAliveInterval 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment