Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!apple!agate!agate!rob From: rob@violet.berkeley.edu (Rob Robertson) Newsgroups: comp.unix.wizards Subject: Re: rcp doesn't work one way Message-ID: Date: 15 Apr 90 02:22:23 GMT References: <22782@adm.BRL.MIL> <1990Mar27.175258.7405@oct1.UUCP> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Organization: University of California, Berkeley Lines: 24 In-reply-to: mason@oct1.UUCP's message of 27 Mar 90 17:52:58 GMT From article <22782@adm.BRL.MIL>, by Leisner.Henr@xerox.com (Marty): Between two machines (a sun386i and a sun3/280) I can: 1) rlogin both ways with no problem 2) rsh both ways with no problem 3) rcp only one way (sun386i initiates the transfer). The sun386i can send/receive stuff via rcp from the sun3. this is because of how rcp works: rcp when doing a "rcp a:file b:file" from machine c (ie from one remote machine to another remote machine) will remotely exec an (using rcmd(3)) an "rcp file b:file on machine a. this requires that machine b have an entry in it's .rhosts for machine a. yes, this is kindda bogus. rob -- william robertson rob@violet.berkeley.edu indecision is the key to flexiblity