Skip to content

Instantly share code, notes, and snippets.

@sgur
Last active February 13, 2018 06:21
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 sgur/54de66ea4a098e09f2da100e056aba88 to your computer and use it in GitHub Desktop.
Save sgur/54de66ea4a098e09f2da100e056aba88 to your computer and use it in GitHub Desktop.
SSH over HTTPS
ProxyCommand connect -H localhost:3128 %h %p
Host git.localdomain.org
ProxyCommand none
Host tunnelhost.com
ProxyCommand connect -H localhost:3128 %h %p
User user
IdentityFile ~/.ssh/ident
ServerAliveInterval 60
Tunnel yes
LocalForward localhost:11433 sqlhost.com:1433
LocalForward localhost:13389 rdphost.com:3389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment