Search code examples
linuxgitproxygithubtor

Connecting GitHub through Tor is not working


I'm using GitHub through Tor because Git ports are blocked on my network.

I'm using Fedora 17 GNU Linux. Suddenly I could not connect to GitHub through Tor today. Any troubleshooting methods or suggestions?

Here is the error I get:

fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection timed out

Tor is working fine. I can connect other applications to 127.0.0.1:9050 and the proxy is working fine.


Solution

  • I have setup Tor through GitHub using at assembla.com (which unfortunatley is not available now, but what you have to do is set proxy options for git and in those you have to specify the tor proxy) but found that I haven't updated my ~/.bashrc.

    something similar to this tutorial.