on 08-06-2022 08:57
2 days ago I got the new Virgin SuperHub 5. I didn't want it but Virgin said I had to have it and it's better, fair enough.
Anyway yesterday 'git push' stopped working. I spent a few hours looking into why this is and then realised it could be the new router. To test, I connected my laptop to a personal hotspot on my phone (4G) and it worked instantly. Switched back to wifi and nothing.
To test, I ran the following command:
ssh -vT git@github.com
This works fine through 4g but times out via WiFi.
The fixes online (change DNS) and disable WebSafe have been in place for years. The GitHub.com IP correctly resolves to the right IP.
Modifying ~/.ssh/config to move things to port 443 does fix it, but this isn't a real fix and I want to make sure I can use git as normal. I do not want Virgin interfering with my connection at all.
Answered! Go to Answer
on 15-06-2022 12:44
on 08-06-2022 12:05
I don't know if this helps https://stackoverflow.com/questions/59402018/cannot-connect-to-github-via-ssh-but-can-connect-to-git...
on 08-06-2022 14:44
Try manually setting the DNS on your laptop to 8.8.8.8 and 8.8.4.4 and see if that works?
I'm a Very Insightful Person, I'm here to share knowledge, I don't work for Virgin Media. Learn more
Have I helped? Click Mark as Helpful Answer or use Kudos to say thanks
on 15-06-2022 12:44
on 17-06-2022 12:47
Thank you for updating the thread with the solution you've found :)!
Cheers,
Ryan.