Date: Mon, 4 Feb 2002 08:12:33 -0500
From: Greg Wooledge wooledg@eeg.ccf.org
To: secureshell@securityfocus.com
Subject: Re: Which protocol is better, version 1 or 2? Advantages disadvantages?
User-Agent: Mutt/1.2.5i

On Sat, Feb 02, 2002 at 12:19:45PM -0500, Greg A. Woods wrote:
> [ On Saturday, February 2, 2002 at 10:36:52 (+0100), Markus Friedl wrote: ]
> > nothing prevents you from running SCP over SSH2.
> > this has nothing to do with the protocol.

> Actually it does, and the details are really messy. For some unknown
> reason the SSH designer chose to make 'scp' in SSH-v2 be a tool
> effectively implemented on top of the new and bizzare SFTP sub-protocol

cat filename | ssh user@remotehost 'cat >newfilename'

(or avoid the "useless use of cat(1) award" with ssh u@r 'cat >new' <old)


From: Graeme Vetterlein Graeme.Vetterlein@ntl.com
To: "'secureshell@securityfocus.com'" secureshell@securityfocus.com
Subject: scp2 f-secure ssh communications ssh2 sftp scp1
Date: Fri, 21 Feb 2003 14:45:30 -0000

The reason for the dumb subject line is that I've been searching on the
archives, and keep getting hints as to things that have happened
(history), but can't track down the answer. This should be easily found
in the archive.

scp1 (I may be inventing this name, for use in this e-mail) is an
'application level protocol'. In essence, it's rcp(1) running over ssh
(ssh1 or ssh2, I'm not too clear).

scp2 is another 'application level protocol': In essence, it's sftp
running over ssh2, but the user-level syntax is that of rcp.

OpenSSH (3.5p1 for example) has a command 'scp', which seem to be an
implementation of scp1.

The question I'm seeking a definitive answer to is:

Does openSSH have an implementation of scp2? If so, when can I find it?

-- Graeme