Double quote scp?

John Davidorff Pell johnpell at
Fri Dec 5 08:41:08 EST 2003

I've noticed that I need to double quote file names in scp:

> scp gaelicWizard:"Desktop/Picture 1.pdf" .
> scp: Desktop/Picture: No such file or directory
> scp: 1.pdf: No such file or directory

Why is this necessary? Wouldn't it be much better to have scp 
communicate with its server-side counterpart with null-terminated 
strings, not to have the server interpret the strings separately?


Every time you share on a P2P network, God kills a kitten.
Please think of the kittens.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2426 bytes
Desc: not available
Url : 

More information about the openssh-unix-dev mailing list