Saturday, August 01, 2020

Re: scp host:file* /tmp/nonexistent

On Aug 01 09:34:52, deraadt@openbsd.org wrote:
> Unfortunately, that is how it works.
>
> I think you are making an assumption that 'scp' means 'cp over ssh'.
> You think it should therefore work maximum like cp. But it doesn't.
> It has hundreds of ways it doesn't work like cp. It is totally
> different code. It is just a 20 year mangle of the old CSRG rcp code.
>
> You need to think of "scp" meaning "secure file copy" not
> "ssh version of cp(1)".

Indeed, that was my expectation, naively.
Thanks for the insight.

Jan

No comments:

Post a Comment