Bug 957

Summary: Shell special characters not escaped by scp
Product: Portable OpenSSH Reporter: Robin Green <greenrd>
Component: scpAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED DUPLICATE    
Severity: minor    
Priority: P2    
Version: 3.9p1   
Hardware: All   
OS: Linux   

Description Robin Green 2004-12-01 05:29:57 AEDT
scp doesn't escape all shell special characters in filenames, e.g. the open
bracket character in this example:

# scp
'greenrd@hipnosi.net:/usr/share/mldonkey/incoming/02-life-bush_and_blair_(instrumental)-cms.mp3'
.
bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `scp -f
/usr/share/mldonkey/incoming/02-life-bush_and_blair_(instrumental)-cms.mp3'
Comment 1 Robin Green 2004-12-01 05:32:55 AEDT

*** This bug has been marked as a duplicate of 424 ***
Comment 2 Darren Tucker 2006-10-07 11:38:04 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.