我在窗口中使用 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 虚拟机中遇到了这个问题,由于路由器设置,通过改变互联网网络解决了这个问题。
关于repository - ssh : Could not resolve hostname github. com 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60490170/