rcp error .. cant work...

rcp error .. cant work...

Post by Barry Marg » Wed, 09 Jul 2003 23:24:08


In article < XXXX@XXXXX.COM >,


"refused an attempted connect operation" presumably means that the remote
machine isn't running the required network service. Rcp makes use of the
same "shell" service as rsh, so check PROD's /etc/inetd.conf to see if this
service is enabled.

However, a better solution would probably be to use scp, which makes use of
the ssh service, which is more secure.

--
Barry Margolin, XXXX@XXXXX.COM
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
 
 
 

rcp error .. cant work...

Post by Ti » Thu, 10 Jul 2003 00:23:28


File permissions look to be the problem.

Man rhosts (certainly on Solaris and HP-UX & I daresay Linux) explains
this.

"For security purposes, the files /etc/hosts.equiv and .rhosts
should
exist and be readable and writable only by the owner, even if they
are
empty."

chmod og-rwx of your files may well get you going though scp or rsync
-e ssh may be more secure options.
--
Tim Izod.

Unix Systems Analyst/ TDM Administrator.

 
 
 

rcp error .. cant work...

Post by yls17 » Fri, 11 Jul 2003 14:20:44


thanks, u are spot on!