loading...
Cover image for [solved] How to resolve this issue? "ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known"?

[solved] How to resolve this issue? "ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known"?

mittalyashu profile image Yashu Mittal ・1 min read

If you are getting this in your terminal.

ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known

and you are thinking that the problem is related to ssh or GitHub, then you are totally wrong.

Believe me, I made the same mistake πŸ˜…

The easiest way to resolve this issue to run this command in your terminal.

git config --global --unset http.proxy 
git config --global --unset https.proxy

Discussion

markdown guide