
Я выполнил шаги, описанные вhttp://returnbooleantrue.blogspot.com/2009/06/using-github-through-draconian-proxies.html, но затем подключение к внутреннему серверу не удается:
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
Могу ли я настроить config
файл так, чтобы он ProxyCommand
использовался только для ssh.github.com?
решение1
Конечно. Выделите эту директиву в отдельную Host
строфу.
Host github-external
HostName ssh.github.com
ProxyCommand dosomethinghere
Затем используйте github-external
в качестве имени хоста.