I am trying to get ssh working on a local network. I have 3 boxes on it XP, pclinux and Opensuse 10.3. I have cygwin installed on the xp. I can ssh the xp and the pclinux from each other. I can ssh the opensuse from the xp and the pclinux. I can not ssh either the xp or the pclinux from the opensuse. I get ssh: connect to host 192.168.1.113 port 22: No route to host when trying to connect to the pclinux. It does nothing when I ssh the xp box. I have tried with and without the firewall on. I am fairly new to Linux and really new to ssh. I appreciate any help.
Well you don’t have a nameserver in /etc/resolv.conf. Either the router didn’t send that info, or more likely, you set it up in YaST > Network devices not to use the nameserver that is specified in the DHCP lease. Fix that.
So you won’t be able find a machine by name, but if you ssh to the IP address, it will probably respond.
Not getting any response means that the server may be blocking incoming traffic on that port. Windows has a firewall, did you open port 22?
In contrast, if you get no such host, you have a name resolution problem or routing problem. And if you get a reject, the machine is there but not accepting connections. Playing deaf usually means the packets are being blocked.
Thanks for all of your advice. I think that I might have solved it. I got the pclinux to work which is on wireless. The xp box is on a client bridge router so I think that the router may be stopping it.
I dont have time to try now but will later. Hope that is the problem.