原文:git錯誤--ssh: Could not resolve hostname ssh.github.com: Name or service not known--解決方式

錯誤如下:git push originssh: Could not resolve hostname ssh.github.com: Name or service not knownfatal: Could not read from remote repository. Please make sure you have the correct access rightsand the re ...

2018-09-06 13:19 0 8178 推薦指數:

查看詳情

ssh: Could not resolve hostname github.com: Name or service not known

問題描述 今天早上在自己的虛擬機上用git pull命令更新github上的版本庫時提示下面的錯誤 我的本地虛擬機的系統是centos7,我以為是ssh秘鑰的問題,於是我重新生成ssh秘鑰並且與github進行關聯,關聯之后又試了一下,還是提示上面的錯誤,然后我ping了一下 ...

Thu Nov 28 16:52:00 CST 2019 0 983
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM