Computing.Net > Forums > Solaris > rsh not working

rsh not working

Reply to Message Icon

Original Message
Name: herbherb
Date: December 23, 2003 at 09:58:55 Pacific
Subject: rsh not working
OS: solaris 8
CPU/Ram: sparc
Comment:

I thought I knew how to setup rsh but apparently I don't. I have three solaris servers behind a pix. I want to beable to run a rcp command to copy some files from onew server to another server using the inside ip address. I created a rhosts file on the root directory of the remote server and a rhosts file in the user directory as wee and added the sending server name and username on a line seperated by a space. Yet when I issue that command I get a connection refused error from the remote server. I guess what I need is a step by step instruction list detailing how to setup the rhosts file to make this work. Thanks for your help


Report Offensive Message For Removal


Response Number 1
Name: westwood01
Date: December 27, 2003 at 04:26:44 Pacific
Reply: (edit)

make certain your .rhosts has the correct format. also, check out the rsh man pages for more detail, try /etc/hosts.equiv.


Report Offensive Follow Up For Removal

Response Number 2
Name: Pharon King
Date: December 27, 2003 at 09:25:46 Pacific
Reply: (edit)

for both .rhosts and /etc/hosts.equiv try to use the machines' names as appears in /etc/hosts instead of the ip. hope this will help you


Report Offensive Follow Up For Removal

Response Number 3
Name: herbherb
Date: December 29, 2003 at 11:58:26 Pacific
Reply: (edit)

What do you mean by correct format? I just craeted a regular file, named it rhosts and put in the domain name of the other server followed by the username. Also in the hosts.equiv I just put in the domain name (the same name in the /etc/hosts file for that server.) Is this the correct way?


Report Offensive Follow Up For Removal

Response Number 4
Name: westwood01
Date: January 1, 2004 at 10:40:50 Pacific
Reply: (edit)

you do know it is 'dot' rhosts, .rhosts, right? I ask because in both of your posts you dont have the . in front of rhosts.


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: rsh not working

Comments:

 


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




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge