[PATCH] Allow scp to copy files that start with a Windows drive name.

Sam Hocevar sam at hocevar.net
Wed Sep 21 02:37:33 AEST 2016


On Tue, Sep 20, 2016, Cedric Blancher wrote:
> It should work if you quote the ':' character with a '\' ...

   Nope, it doesn’t.

   There is nothing in colon() that handles such syntax. Escaping ‘:’ with
a ‘\’ will just cause scp to try to connect to hostname “c\” instead of “c”.

> no need for the patch.

   I humbly disagree.

Cheers,
-- 
Sam.


More information about the openssh-unix-dev mailing list