Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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