[CLUE-Tech] rcp

David Anselmi anselmi at americanisp.net
Wed Sep 18 01:19:54 MDT 2002


Friedman, Jason wrote:
> I'm trying to rcp files from one machine to another.  All are on my
> local subnet, and all are firewall-free.
> 
> On machine1, I have an /etc/hosts.equiv file with "machine2" in it, and
> vice-versa for machine2.
> While not necessary according to the manpage, I've also added .rhosts
> files to the users on the respective machines.

Do you have an r* server running on the target machine?  Probably that 
would be set up in /etc/inetd.conf or /etc/xinetd.conf.  Also, if you're 
running tcpwrappers you'll need to configure /etc/hosts.allow and 
/etc/hosts.deny correctly.

Although the r commands may be safe enough behind a firewall, you 
probably won't ever use them over the Internet.  So you might prefer to 
use commands that run over ssh.  They'll be more useful in the long run.

HTH,
Dave





More information about the clue-tech mailing list