Bug#923286: scp: 'protocol error: filename does not match request' even though it does match
Package: openssh-client
Version: 1:7.9p1-6
Severity: normal
The file "This is a [file].txt" (w/o quotes) exists on `remote`.
The following does no longer work:
$ scp remote:'./"This is a [file].txt"' blubb
protocol error: filename does not match request
These however do still work:
$ scp remote:'"This is a [file].txt"' blubb
$ scp remote:'./This\ is\ a\ \[file\].txt' blubb
$ scp remote:'This\ is\ a\ \[file\].txt' blubb
Extended globs (from zsh) now only work sometimes as well:
$ scp daikoku:'./This\ is\ a\ \[file\].txt(.)' blubb
protocol error: filename does not match request
$ scp daikoku:'This\ is\ a\ \[file\].txt(.)' blubb
Ansgar
-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Versions of packages openssh-client depends on:
ii adduser 3.118
ii dpkg 1.19.2
ii libc6 2.28-7
ii libedit2 3.1-20181209-1
ii libgssapi-krb5-2 1.17-1
ii libselinux1 2.8-1+b1
ii libssl1.1 1.1.1a-1
ii passwd 1:4.5-1.1
ii zlib1g 1:1.2.11.dfsg-1
Reply to: