Created
July 28, 2011 16:03
-
-
Save rbenaley/1111823 to your computer and use it in GitHub Desktop.
GitHub ssh access via HTTP Proxy
This file contains 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
host github.com | |
user git | |
hostname ssh.github.com | |
port 443 | |
proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port> |
Very useful, especially for developers behind Gfw.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works perfectly. Thanks.
Just put the file contents in
~/.ssh/config
and notssh_config