bugzilla-daemon at bugzilla.mindrot.org
2018-Oct-17 09:26 UTC
[Bug 2919] New: Quoting of filenames with spaces is inconsistent when downloading/uploading
https://bugzilla.mindrot.org/show_bug.cgi?id=2919 Bug ID: 2919 Summary: Quoting of filenames with spaces is inconsistent when downloading/uploading Product: Portable OpenSSH Version: 7.5p1 Hardware: amd64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: scp Assignee: unassigned-bugs at mindrot.org Reporter: bugzilla at vague.se This is something that has been bugging me for a while and I always stumble on it trying to remember which form to use I can't find anything in the changelog that looks similar to this having been fixed Downloading: vague at IS-C0HVFBY:~$ /usr/bin/scp root at amodev:"/root/projects/management-packs/XI\ Gridhost.json" . root at amodev's password: XI Gridhost.json vague at IS-C0HVFBY:~$ /usr/bin/scp root at amodev:"/root/projects/management-packs/XI Gridhost.json" . root at amodev's password: scp: /root/projects/management-packs/XI: No such file or directory scp: Gridhost.json: No such file or directory vague at IS-C0HVFBY:~$ /usr/bin/scp "root at amodev:/root/projects/management-packs/XI\ Gridhost.json" . root at amodev's password: XI Gridhost.json vague at IS-C0HVFBY:~$ /usr/bin/scp root at amodev:/root/projects/management-packs/XI\ Gridhost.json . root at amodev's password: scp: /root/projects/management-packs/XI: No such file or directory scp: Gridhost.json: No such file or directory Uploading: vague at IS-C0HVFBY:~$ /usr/bin/scp "XI\ Gridhost.json" admin at remote: admin at remote's password: XI\ Gridhost.json: No such file or directory vague at IS-C0HVFBY:~$ /usr/bin/scp "XI Gridhost.json" admin at remote: admin at remote's password: XI Gridhost.json vague at IS-C0HVFBY:~$ /usr/bin/scp XI\ Gridhost.json admin at remote: admin at remote's password: XI Gridhost.json -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2020-Jan-25 13:31 UTC
[Bug 2919] Quoting of filenames with spaces is inconsistent when downloading/uploading
https://bugzilla.mindrot.org/show_bug.cgi?id=2919 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #1 from Damien Miller <djm at mindrot.org> --- Unfortunately this is inherent to the way that scp works: one set of quote expansion is performed by your local shell and another by the remote shell that executes scp. This behaviour is inherited from BSD rcp from ~29 years ago :( -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.