home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!sgi!rhyolite!vjs
- From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
- Newsgroups: comp.protocols.tcp-ip
- Subject: Re: Rcp -- is that rlogin or what?
- Message-ID: <prfaa2s@rhyolite.wpd.sgi.com>
- Date: 14 Sep 92 15:47:31 GMT
- References: <aronsson.716470900@jeeves>
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 28
-
- In article <aronsson.716470900@jeeves>, aronsson@sectra.se (Lars Aronsson) writes:
- > What hides under the hood of the "rcp" command? These UNIX (HP-UX and
- > SunOS) manuals don't tell the whole story. I have seen an Internet RFC
- > on Rlogin, and Richard Stevens' excellent book (UNIX Network
- > Programming) also mentions that protocol. However, I fail to find any
- > references to rcp.
- >
- > I thought rlogin, rsh/remsh, and rcp were all the same thing in
- > different shapes. They all use the same system of .rhost files. Now I
- > have seen people comparing the performance of rcp with "cat | rsh",
- > which suggests they are different, and I am not so sure any longer.
-
-
- The only real and true documentation for rcp, rlogin, rsh, and so on are
- the BSD sources. The new RFC's and the various text books do their best,
- but they are not authoratative.
-
- The source for the r-commands, as well as ruserok() (the library code
- that cracks /etc/hosts.equiv and ~/.rhosts) should be in your
- favorite BSD source source. Try uunet.
-
- Rcp is not the same as `cat | rsh`, although rcp does use the rsh
- protocol and (presumably) rshd on the remote machine. Besides details
- like the implementation of `rcp -r`, there are things you can do that
- affect performance.
-
-
- Vernon Schryver, vjs@sgi.com
-