Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

connect to host 192.168.x.x port 22: No route to host

  Date: Nov 24    Category: Unix / Linux / Ubuntu    Views: 1435
  

SSH was working properly when i was using FC2.
After upgrading to FC3, now when i try to connect to
my friends computer it says the following error.

$ssh user@...
ssh: connect to host 192.168.11.70 port 22: No route
to host
$

I am attaching the outputs of "NETSTAT -NR" and
"IFCONFIG -A". Please help me in debugging this
problem..
-------------------------------------------------------

$netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags
MSS Window irtt Iface
192.168.11.0 0.0.0.0 255.255.255.0 U
0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U
0 0 0 eth0
0.0.0.0 192.168.11.1 0.0.0.0 UG
0 0 0 eth0


------------------------------------------------------

$./ifconfig -a
eth0 Link encap:Ethernet HWaddr
00:0C:76:7D:33:72
inet addr:192.168.11.54
Bcast:192.168.11.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe7d:3372/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:98400 errors:0 dropped:0
overruns:0 frame:0
TX packets:84683 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103771844 (98.9 MiB) TX
bytes:5651010 (5.3 MiB)
Interrupt:11 Base address:0xc400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1081 errors:0 dropped:0
overruns:0 frame:0
TX packets:1081 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1191968 (1.1 MiB) TX bytes:1191968
(1.1 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Share: 

 

1 Answer Found

 
Answer #1    Answered On: Nov 24    

Please try pinging to the remote machine(192.168.11.70).if ping is
working fine, restart ssh on the remote machine.

 
Didn't find what you were looking for? Find more on connect to host 192.168.x.x port 22: No route to host Or get search suggestion and latest updates.




Tagged: