Computing.Net > Forums > Unix > The remsh command

The remsh command

Reply to Message Icon

Original Message
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.

Thanks for any reply.


Report Offensive Message For Removal


Response Number 1
Name: Jim Boothe
Date: December 20, 2004 at 08:14:53 Pacific
Subject: The remsh command
Reply: (edit)

If you are using hostnames in your .rhosts, you might try IP addresses instead.


Report Offensive Follow Up For Removal

Response Number 2
Name: Borvix
Date: December 24, 2004 at 09:21:23 Pacific
Subject: The remsh command
Reply: (edit)

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.


Learn more at www.TechnoProfessor.com


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: The remsh command

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software