Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Ubuntu 11.10 and followed the help doc at github.com to set up git and connect to github but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this command: ssh -T [email protected] I got an error:

ssh: connect to host github.com port 22: No route to host

And I tried this command:

tcptraceroute github.com 22

Here is what I got:

Selected device eth0, address 222.20.58.XX(sorry...I masked part of my ip), port 33281 for outgoing packets
Tracing the path to github.com (207.97.227.239) on TCP port 22 (ssh), 30 hops max
 1  222.20.58.254  0.891 ms  0.850 ms  0.693 ms
 2  zxq-xs-h3c7510e.hust.edu.cn (115.156.255.137)  1.253 ms  1.569 ms  2.837 ms
 3  zxq-xs-rjs8606.hust.edu.cn (115.156.255.130)  0.729 ms  0.678 ms  0.629 ms
 4  115.156.255.174  0.794 ms  6.279 ms  16.569 ms
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
Destination not reached

It seems that the route is stopped at 115.156.255.174, which I don't know where it is.

Can anyone explain what's wrong here and how can I solve this?

Thanks very much.

share|improve this question
    
Sure you actually have a working internet connection on that system? Could also be something blocking, maybe try: cyberciti.biz/tips/no-route-to-host-error-and-solution.html –  ckhan May 13 '12 at 7:06
    
@ckhan Yes, I have a working internet connection. I tried the solution 2, but it didn't work. About the solution one, I don't have the router information, I configured gateway and DNS though. Do I have to configure the router information? –  Gnijuohz May 13 '12 at 7:56
    
If you can ping github.com, and you can visit www.github.com, then it would seem something is blocking 22. –  ckhan May 13 '12 at 8:06
    
@ckhan Yes, I can ping and visit it. –  Gnijuohz May 13 '12 at 8:13
    
Your behind a something that is blocking port 22. Are you at work doing this? –  apesa May 14 '12 at 14:32
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.