I've scoured the internet and found many people with similar problems, but my variant seems to be unique. The issue is I cannot connect to GitHub via ssh in order to push/pull (I'm on Windows 10).
If I run ssh -T [email protected]
:
ssh: connect to host github.com port 22: Network is unreachable
If I run ssh -T -p 443 [email protected]
:
Hi cjriches! You've successfully authenticated, but GitHub does not provide shell access.
Bizarrely, if I run ssh -T [email protected]
:
Welcome to GitLab, @cjriches!
This, combined with the fact that I tried disabling Windows Firewall to no avail, seems to prove that it's not just port 22 that's the problem. For what it's worth, I can also SSH into other, completely non-git-related hosts. For some reason, it's GitHub specifically that refuses to connect. I've re-uploaded the public key just in case, so the problem definitely isn't there.
Has anybody got any ideas how on earth this could be happening?
Seems like it is either a DNS issue or a Proxy issue. I would try changing my dns to 8.8.8.8 and 8.8.4.4. See if that clears up the issue. If that still doesn't rectify the issue, I would look and see if I am using a proxy which is preventing me from contacting github.
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