Created
December 4, 2013 11:24
-
-
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/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # $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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # $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