原文: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