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?
-vvv, check if the domain is resolved to a correct ip. Are there any other problems/warnings in the log?