'"ssh: Could not resolve hostname \342\200\223" for command line 'ssh -T [email protected]'

I am receiving:

ssh: Could not resolve hostname \342\200\223t: Name or service not known

for

ssh -T [email protected]

Keygen has been added to GitHub and they were tested to match using

ssh-add -l -E md5

They do match, but I am still receiving this error.

I also tried:

ping github.com
git config --global --unset http.proxy
git config --global --unset https.proxy

This was a suggested fix on another question that didn't work. The ping returns an IP address, so the connection seems to be working. Also Git pull works, but it requires a password each time. It’s a hostname error, so does it have to do with the DNS? Or maybe a port needs to be forwarded.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source