[Bug 1205] scp back-slash escaping of spaces ignored after username at hostname: tag

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jul 3 23:54:54 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1205

           Summary: scp back-slash escaping of spaces ignored after
                    username at hostname: tag
           Product: Portable OpenSSH
           Version: 4.3p2
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Keywords: low-hanging-fruit
          Severity: normal
          Priority: P3
         Component: scp
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: dcescato at ee.ethz.ch


Back-slash escaping of spaces works when accessing local files:

[genie at homeland ~]$ echo "hello" > spa\ ce
[genie at homeland ~]$ ls -l spa\ ce
-rw-rw-r-- 1 genie genie 6 Jul  3 14:58 spa ce
[genie at homeland ~]$  scp /home/genie/spa\ ce
bugzilla at armageddon.ethz.ch:/home/bugzilla
spa ce                                                   100%    6    
0.0KB/s   00:00


The file is actually on the remote machine:

[bugzilla at armageddon ~]$ ls -l spa\ ce
-rw-rw-r-- 1 bugzilla bugzilla 6 Jul  3 14:58 spa ce


If I now try to copy the file from the remote machine, I get the
following error:

[genie at homeland ~]$ rm spa\ ce
[genie at homeland ~]$ scp bugzilla at armageddon.ethz.ch:/home/bugzilla/spa\
ce . 
scp: /home/bugzilla/spa: No such file or directory
scp: ce: No such file or directory


Hence, back-slash escaping of spaces after a "username at hostname:" tag
seems to be ignored.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list