rcp doesn't work one way
Rob Robertson
rob at violet.berkeley.edu
Sun Apr 15 12:22:23 AEST 1990
From article <22782 at adm.BRL.MIL>, by Leisner.Henr at 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 at violet.berkeley.edu
indecision is the key to flexiblity
More information about the Comp.unix.wizards
mailing list