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
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
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.
Summary: I have hosts in my.domain, all has /.rhosts as +. So I can copy files easily. But we also have hosts in headoffice.domain (WAN link), all has /.rhosts too. But I rcp /rsh files@hosts.headoffice.domain...
Summary: Hi, I want to tranfer a file from solaris 9 to solaris 10. Both are separate machine. Rlogin,rsh are working fine but rcp not working and connection refused eroor received. I checked the svcs service ...
Summary: My network card does not work at all. Just installled Solaris 8 without networking. Surely I should still see some connectivity led's. I am using a DEll Lattitude c800 with a 3com PCI mini 10/100 ca...