Skip to content

Instantly share code, notes, and snippets.

@grenade
Created December 4, 2013 11:24
Show Gist options
  • Save grenade/7786066 to your computer and use it in GitHub Desktop.
Save grenade/7786066 to your computer and use it in GitHub Desktop.
Set up git on Windows to use SSH tunneled through 443 # http://returnbooleantrue.blogspot.co.uk/2009/06/using-github-through-draconian-proxies.html # Also requires cntlm: http://cntlm.sourceforge.net/
# $HOME/.gitconfig
[user]
name = Rob Thijssen
email = [email protected]
[core]
autocrlf = true
[http]
proxy = http://127.0.0.1:3128
[https]
proxy = http://127.0.0.1:3128
# $HOME/.ssh/config
ProxyCommand /c/windows/connect.exe -H 127.0.0.1:3128 %h %p
Host github.com
User git
Port 443
Hostname ssh.github.com
IdentityFile "/p/.ssh/github_rsa"
TCPKeepAlive yes
IdentitiesOnly yes
Host ssh.github.com
User git
Port 443
Hostname ssh.github.com
IdentityFile "/p/.ssh/github_rsa"
TCPKeepAlive yes
IdentitiesOnly yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment