sftp Vs scp

Colin Watson cjwatson at debian.org
Fri Jan 25 11:23:16 AEDT 2019


On Thu, Jan 24, 2019 at 09:33:09PM +0100, Gert Doering wrote:
> On Thu, Jan 24, 2019 at 08:26:39PM +0000, Colin Watson wrote:
> > Why does "scp becomes the CLI for SFTP" necessitate "the SCP protocol
> > breaks"?
> 
> The way scp works today is "run ssh to the remote, then invoke scp with
> a few extra options".

As I noted in
https://lists.mindrot.org/pipermail/openssh-unix-dev/2019-January/037479.html,
the protocol involves passing -f or -t options as appropriate, so it's
perfectly straightforward for the client to speak SFTP while preserving
the existing server protocol.

-- 
Colin Watson                                       [cjwatson at debian.org]


More information about the openssh-unix-dev mailing list