Re: ssh: no route to host
On Wed, 20 Jul 2011 14:51:45 -0500, Hugo Vanwoerkom wrote:
> Camaleón wrote:
>> On Wed, 20 Jul 2011 10:05:24 -0500, Hugo Vanwoerkom wrote:
>>> Every so often when I connect from the desktop to the laptop with ssh,
>>> I get:
>>> ssh: connect to host 192.168.1.194 port 22: No route to host
>> Yep, as Walter suggested, this can be a problem with DHCP that has
>> given another IP to the laptop. If you have only two machines in the
>> LAN, give them static IPs so you don't have to depend on your router's
>> DHCP eccentricities :-)
> But the IP should show up in ifconfig, no?
Yes, please run it ("/sbin/ifconfig") and put here the output.
> And that did not change after the failure...
We cannot know unless you provide additional data :-)
"No route to host" usually means "I cannot see the machine at all" and "I
cannot see the machine at all" usually involves:
a) SSH service is not running on the client
b) IP of the client is unreachable