dangerous behaviour of scp
Jacques Bouchard
jacques.bouchard at onera.fr
Thu Dec 9 21:21:43 EST 2004
Darren Tucker wrote:
> OpenSSH's scp is based on OpenBSD's rcp. Typically any fixes get
> applied to both.
> ...
> BTW I think the fairest criticism is that it behaves differently for
> local vs remote copies (see below).
>
> Anyway, it turns out that due to some work by Markus earlier this year,
> scp already knows if the destination should be a directory, so it's easy
> to fix, see attached patch.
Thanks for your reply.
I hope your patch will get applied to both rcp and scp.
More information about the openssh-unix-dev
mailing list