1
我無法從我的虛擬機(VirtualBox的/ Debian的)連接在GitHub我的Git倉庫:上VM/VirtualBox的混帳/ GitHub的連接問題
# git clone [email protected]:username/reponame.git .
Cloning into ....
ssh: Could not resolve hostname github.com: Name or service not known
fatal: The remote end hung up unexpectedly
然後,我添加了GitHub的一個條目我/etc/hosts
(這將是錯誤的方式 - 不相信,它總是需要):
207.97.227.239 github.com
現在我得到另一個錯誤:
# git clone [email protected]:username/reponame.git .
Cloning into ....
ssh: connect to host github.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly
我們非常感謝您的幫助!
確保你實際上有權訪問github.com和/或互聯網。 – Learath2 2013-02-27 16:49:32
的確,我的客人沒有互聯網連接。 Oooh ...狗屎!...感謝你的提示! – automatix 2013-02-27 16:59:09
重啓虛擬機後,一切正常! :) 再次感謝你! – automatix 2013-02-27 17:07:46