Reputation: 51
I am using raspberrypi terminal using vnc viewer at window and I am trying to clone Git repository. But I am keep getting this error message.
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.
I've been trying to solve this error for a whole day but i still cannot solve this error.. It would be great to know solutions for this. Thank you
Upvotes: 5
Views: 13263
Reputation: 547
Maybe it is because of your internet access, You can try:
ping google.com
If you get this error again, there was problem in your network configuration or internet access.
I had this problem in ubuntu virtual machine, and it was solved by changing internet network because of router setting.
Upvotes: 3