I’m trying to setup github. I have generated the public key and pasted in my account. But when
I try to do ssh -T git@github.com, I get ssh: connect to host github.com port 22: Operation timed out.
I tried sudo route add 207.97.227.239 10.0.0.1 (ip,gateway) as mentioned in a stackoverflow solution. But nothing helps.
You don’t necessarily need to use SSH to connect to GitHub, you can also use HTTPS for any repository.
See this blog post for more details