Problem of testing SSH in git behind proxy
2014-08-19 10:00
120 查看
Error
like: 'ssh: github.com: no address associated with name'
solve:
setting http.proxy will not work for ssh. You need to proxy your ssh connection. See this description.
To summarize:
Start git-cmd.bat and create ~/.ssh/config (
(set the correct proxy hostname:port, and the path to id_rsa. When you use git-bash, use slashes in the path to id_rsa)
Now
like: 'ssh: github.com: no address associated with name'
solve:
setting http.proxy will not work for ssh. You need to proxy your ssh connection. See this description.
To summarize:
Start git-cmd.bat and create ~/.ssh/config (
notepad %home%\.ssh\config.)
ProxyCommand /bin/connect.exe -H proxy.server.name:3128 %h %p Host github.com User git Port 22 Hostname github.com IdentityFile "C:\users\username\.ssh\id_rsa" TCPKeepAlive yes IdentitiesOnly yes Host ssh.github.com User git Port 443 Hostname ssh.github.com IdentityFile "C:\users\username\.ssh\id_rsa" TCPKeepAlive yes IdentitiesOnly yes
(set the correct proxy hostname:port, and the path to id_rsa. When you use git-bash, use slashes in the path to id_rsa)
Now
ssh github.comshould work
相关文章推荐
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- Problem of testing SSH in git behind proxy
- 【2011 Greater New York Regional 】Problem H: Maximum in the Cycle of 1
- A problem with git push via proxy
- How to using GIT behind http(s) Proxy
- 10 Tips to Survive and Progress in the Field of Software Testing
- A database of open-source HTTP proxies written in python: Django HTTP Proxy
- Python example of SSH in multi-threads
- Problem about the Format of Title-in Interactive Reporting
- Top 15 Performance Testing Tools – Comprehensive List of In-Demand Tools with Download Link
- Unit Testing in Xcode 4 – use OCUnit and SenTest instead of GHUnit
- How to use SSH Via HTTP Proxy using Corkscrew in Ubuntu
- Major Problem in the Process of Urbanization
- the main methos of class Ssh in pyssh module
- Fabric and ssh-agent (aka. Running GIT in Fabric)