I followed the steps described in http://returnbooleantrue.blogspot.com/2009/06/using-github-through-draconian-proxies.html, but then connecting to the internal server fails:

Proxy could not open connnection to 192.168.1.***:  Forbidden
ssh_exchange_identification: Connection closed by remote host
svn: Commit failed (details follow):
svn: Network connection closed unexpectedly

Can I set up config file so that ProxyCommand is only used for ssh.github.com?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Absolutely. Put that directive in a separate Host stanza.

Host github-external
    HostName ssh.github.com
    ProxyCommand dosomethinghere

Then use github-external as the hostname.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.