scp on the client-side requires scp on the server-side as well

Ben Lindstrom mouring at
Sat Feb 23 01:47:14 EST 2002

On Fri, 22 Feb 2002, Daniel Bergman wrote:

> >> Hi,
> >>
> >> A couple of days ago I realized that 'scp' on the client-side requires
> >> 'scp' on the server-side as well.
> >>
> >> client:scp -> server:sshd -> server:scp
> >>
> >> It this really the way it should be? IMHO it seems like a bad design.
> >
> > yes, this is how rcp and scp work. if you don't like this, you have
> > to use SFTP and add SFTP support to our scp client.
> I might just do that, would it be hard?
Should not be too bad.. all the code is in the tree.  Look at
sftp-client.c.  Just requires creative linking and some sane way of
informing scp to use sftp protocol instead of rcp protocol.

- Ben

More information about the openssh-unix-dev mailing list