home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.protocols.tcp-ip
- Subject: Re: Rcp -- is that rlogin or what?
- Message-ID: <192f01INN2vd@early-bird.think.com>
- Date: 14 Sep 92 16:35:13 GMT
- References: <aronsson.716470900@jeeves>
- Distribution: comp
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 28
- NNTP-Posting-Host: telecaster.think.com
-
- In article <aronsson.716470900@jeeves> aronsson@sectra.se (Lars Aronsson) writes:
- >What hides under the hood of the "rcp" command?
-
- rcp and rdump are built on top of rsh.
-
- >I thought rlogin, rsh/remsh, and rcp were all the same thing in
- >different shapes. They all use the same system of .rhost files.
-
- rlogin is not built on the same protocol as rsh/rcp/rdump, but both rlogind
- and rshd perform hosts.equiv/.rhosts authentication. The rlogin protocol
- is designed for interactive use, and provides mechanisms for transmitting
- the terminal type, terminal speed, window size changes, and cooked/raw mode
- changes. Rshd just runs the given command with stdin/stdout/stderr
- connected to the socket, and provides no special processing. Rlogind
- starts up a login shell, while rshd just runs an ordinary subshell.
-
- >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.
-
- They should be similar in performance. rcp has options to transmit file
- dates and permissions, but for a large file the actual data transfer should
- be the limiting factor.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-