我按照git指南但在嘗試連接到github時遇到了這個奇怪的問題:$ ssh -v [email protected]_4.6p1, OpenSSL 0.9.8e 23 Feb 2007debug1: Reading configuration data /c/Documents and Settings/mugues/.ssh/configdebug1: Applying options for github.comdebug1: Connecting to github.com [207.97.227.239] port 22.debug1: connect to address 207.97.227.239 port 22: Attempt to connect timed out without establishing a connectionssh: connect to host github.com port 22: Bad file number這是我在.ssh下的配置文件Host github.com User git Hostname github.com PreferredAuthentications publickey IdentityFile "C:\Documents and Settings\mugues\.ssh\id_rsa" TCPKeepAlive yes IdentitiesOnly yes任何想法?
3 回答

長風秋雁
TA貢獻1757條經驗 獲得超7個贊
我發現,當你的連接很差時會發生這種情況。幾分鐘前,當我推送到我的倉庫時,它已經有了它,它一直在失敗,一段時間后,連接斷開了。
在它恢復后,推動立即通過。
我相信這可能是由于你身邊或他們的連接斷開造成的。
- 3 回答
- 0 關注
- 861 瀏覽
添加回答
舉報
0/150
提交
取消