Name: vicchai Date: December 19, 2004 at 23:45:13 Pacific Subject: The remsh command OS: unix CPU/Ram: nil
Comment:
Hi,
Is any one know what is wrong when I try to use remsh to get a file from another machine, in both machines, inside the home directory, the .rhosts file having the same date, like this: machine1 admin machine2 admin But when I do a remsh on the machine1 or machine2, I got this error: rcmd: connect: machine1: No route to host
But I can run this remsh command in other machines successfully with not error. So what's wrong with that two machine? One thing to take note is that I can do ftp on that two machines without any problem.
When you see the message “no route to host” it is message that has been delivered by ICMP. While there many reasons for it, I would suggest you to go through this list.
1. Ping with the DNS name (it checks DNS works properly, may be you have only FTP entry for this machine that defines not only IP but a specific port also!) 2. Ping with IP address 3. Telnet to the port (look for the port number in /etc/services) and check if telnet reports “connect” status. 4. Eventually, see if the service wasn’t blocked by network, on the router or switch.