Computing.Net > Forums > Solaris > rsh not working

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

rsh not working

Reply to Message Icon

Name: herbherb
Date: December 23, 2003 at 09:58:55 Pacific
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



Sponsored Link
Ads by Google

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

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


0

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

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


0

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

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?


0

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

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.


0
Reply to Message Icon

Related Posts

See More


How to call an URL from a... SSH Installation



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: rsh not working

rcp, rsh .. not work www.computing.net/answers/solaris/rcp-rsh-not-work/3717.html

In solaris 10 rcp not working www.computing.net/answers/solaris/in-solaris-10-rcp-not-working/4973.html

Network card does not work 8 intel www.computing.net/answers/solaris/network-card-does-not-work-8-intel/1717.html