Re: SCP protocol

On May 18, 3:43 pm, yawnmoth <terra1...@xxxxxxxxx> wrote:

The SFTP draft is draft-ietf-secsh-filexfer-extensions. Presumably it
is so named because the channel request initializes a subsystem named
'sftp'. Is there a subsystem named 'scp', as well, or does scp, the
program, use the 'sftp' subsystem?

If there were a subsystem named 'scp' then where is it defined? states "The SCP protocol, which runs on port 22, is
similar to the BSD rcp protocol, however unlike rcp, data is encrypted
during transfer, to avoid potential packet sniffers extracting usable
information from the data packets. The protocol itself does not
provide authentication and security; it relies on the underlying
protocol, SSH, to provide these features."

That's nice. Where, then, is rcp defined? I tried to do a Google
search for "rcp specification" (without the double quotes) and got
hits for "remote procedure call".

Plus, the specification for rcp isn't going to tell you, for example,
the subsystem name for scp - presumably only the scp protocol
specification would do that.

I tried to do a search for "scp specification" and got hits for "smart
card platform". Well, I did get a few hits for the scp command, as
well, but knowing how to call scp via the command line tells you
nothing about the underlying protocol that it is implementing.

Relevant Pages

  • Re: Improved sftp client?
    ... > *nothing* except a poor pretense at the FTP interface. ... SFTP is a file transfer protocol running over SSH, ... more features than SCP, ...
  • Re: Does OpenSSH use RCP?
    ... >with someone about the difference between OpenSSH and SFTP. ... >SFTP) than SCP will fail. ... >agreeing with is telling me that Openssh uses the RCP protocol. ... scp uses the "rcp" protocol. ...
  • Re: Does sftp or scp gaurentee delivery?
    ... > Does anyone know if scp or sftp ensures that a transfer is complete. ... > completely (such as with checksum information), ... which uses the rsync protocol to duplicate the files instead of the ...
  • Re: Confusing! ssh, ssh1, ssh2, etc.
    ... > SSH Comm Corp's ssh2 uses a completely different protocol than OpenSSH's ... "The solution is to install either the OpenSSH or SSH1 version of scp on ... the server under the name "scp1," somewhere in the sshd2's PATH." ... The "sftp" program uses the sftp protocol and expects an sftp server ...
  • Re: SSH1 FTP client for Windows
    ... that the SFTP is wedded to SSH-2. ... Again, from a protocol standpoint, SFTP has *no* dependence on what ... it run over SSH at all. ... scp simply calls ssh to connect to the remote ...