[Bug 2919] New: Quoting of filenames with spaces is inconsistent when downloading/uploading

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 17 20:26:36 AEDT 2018


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.


More information about the openssh-bugs mailing list