ssh:无法解决主机名github.com错误



我在窗口中使用vnc查看器使用raspberrypi终端,并试图克隆Git存储库。但我一直收到这个错误消息。

ssh: Could not resolve hostname github.com: Temporary failure in name resolution fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

我已经试着解决这个错误一整天了,但我仍然无法解决这个错误。。如果能知道这方面的解决方案,那就太好了。谢谢

也许是因为你的互联网接入,你可以尝试:

ping google.com

如果您再次出现此错误,则说明您的网络配置或internet访问有问题。

我在ubuntu虚拟机中遇到了这个问题,由于路由器的设置,通过更改网络解决了这个问题。

相关内容

最新更新