home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / tcpip / 4404 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

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