Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>My scenario was a little different to Jeff Tchang's (but based on his post) but might be helpful here.</p> <p>All of our workplace/corporate internet access is via a non-authenticating proxy. I was able to clone <em>from</em> but not push <em>to</em> github: running</p> <pre><code>git push -u origin master </code></pre> <p>would return</p> <pre><code>ssh: connect to host github.com port 22: Operation timed out fatal: The remote end hung up unexpectedly </code></pre> <p>Based on <a href="http://returnbooleantrue.blogspot.com/2009/06/using-github-through-draconian-proxies.html" rel="nofollow">http://returnbooleantrue.blogspot.com/2009/06/using-github-through-draconian-proxies.html</a> and <a href="http://meinit.nl/ssh-through-a-proxy-from-your-apple-mac-os-x" rel="nofollow">http://meinit.nl/ssh-through-a-proxy-from-your-apple-mac-os-x</a> and <a href="http://www.mtu.net/~engstrom/ssh-proxy.php" rel="nofollow">http://www.mtu.net/~engstrom/ssh-proxy.php</a> I was able to download/install corkscrew and add the following to my ~/.ssh/config:</p> <pre><code>Host github.com User git Port 22 Hostname github.com TCPKeepAlive yes IdentitiesOnly yes ProxyCommand /usr/local/bin/corkscrew proxy.&lt;my-workplace&gt;.com 8080 %h %p </code></pre> <p>Some points to note:</p> <ul> <li><p>I use my workplace/corporate private key also with GitHub: if you don't you will need to add an "IdentityFile" line</p></li> <li><p>Unlike with Jeff Tchang (and thanks to mtu.net) I did not need to have the "~/.ssh/myauth" at the end of the ProxyCommand line</p></li> <li><p>I did not need to set up a ssh.github.com Host section.</p></li> </ul> <p>Hope these help.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload