[Bug 586] Syntax error on local to local copy (escaping required)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 4 01:33:43 EST 2003


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

           Summary: Syntax error on local to local copy (escaping required)
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: scp
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: lukeross at sys3175.co.uk


When trying to upload a file, I inadvertently missed off the trailing ':' to
make it remote copy, so scp attempted to local copy, using "exec cp".  However
scp didn't reescape the filenames:

$ scp /home/mp3/Kosheen\ -\ Catch\ \(original\).mp3 lukeross at 1.2.3.4
sh: -c: line 1: syntax error near unexpected token `('
sh: -c: line 1: `exec cp /home/mp3/Kosheen - Catch (original).mp3 lukeross at 1.2.3.4'
$



------- 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