I'm trying to setup GitHub on my system and I have done all the installation and key setup process:
But during test everything phase getting the following error by command:
$ ssh -T [email protected]
ssh:github.com:no address associated with name
I had the same error message. In my case my netbook's wifi switch got bumped and I didn't notice I had no internet connection. So make sure you have internet access if you're getting this error! (duh!)
It means it doesn't found your HOME/.ssh/id_rsa
and id_rsa.pub
, and is looking for a HOME/.ssh/config
file which could have defined the name 'github.com
', as illustrated here.
That usually means you don't have defined what HOME
is (which isn't defined by default on Windows, see this answer)
I tried almost everything found on Google related to this question, and nothing seemed to work. I remembered that Windows has made some updates on 'Windows Defender'. I may seem irrelevant but it is not;
What worked for me was running Git as Administrator
, which i never did before.
I also faced the same problem and the error was that: I was using the wrong URI, it should be like:
ssh -T [email protected]
and not as what was copied for cloning
ssh -T [email protected]:username/repo.git
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With