Bug#157284: marked as done (ssh: document filename globbing/escaping in sftp)
Your message dated Tue, 22 Jul 2008 18:09:06 +0100
with message-id <20080722170906.GA16997@riva.ucam.org>
and subject line Re: Bug#157284: ssh: sftp does not deal with remote file names contain some characters
has caused the Debian Bug report #157284,
regarding ssh: document filename globbing/escaping in sftp
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
157284: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=157284
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ssh: sftp does not deal with remote file names contain some characters
- From: arekw@arwo.poznan.pl
- Date: Mon, 19 Aug 2002 17:28:07 +0200
- Message-id: <E17goRr-0003j5-00@max>
Package: ssh
Version: 1:3.4p1-1
Severity: normal
backup:~# sftp max.intranet
Connecting to max.intranet...
sftp> ls
...
-rw-r--r-- 1 root root 4 Aug 19 16:41 test
...
sftp> get test
Fetching /root/test to test
sftp> rename test [test]
sftp> ls
...
-rw-r--r-- 1 root root 4 Aug 19 16:41 [test]
...
sftp> get [test]
File "/root/[test]" not found.
sftp> _
Above shoud say evrything.
So, scp does not work with spaces (bug #144579), sftp - with some characters, any
suggestions?
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux backup 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL
Versions of packages ssh depends on:
ii adduser 3.47 Add and remove users and groups
ii debconf 1.0.32 Debian configuration management sy
ii libc6 2.2.5-11.1 GNU C Library: Shared libraries an
ii libpam-modules 0.72-35 Pluggable Authentication Modules f
ii libpam0g 0.72-35 Pluggable Authentication Modules l
ii libssl0.9.6 0.9.6c-2.woody.0 SSL shared libraries
ii libwrap0 7.6-9 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.1.4-1 compression library - runtime
--- End Message ---
--- Begin Message ---
- To: Robert Bihlmeyer <robbe@orcus.priv.at>, 157284-done@bugs.debian.org
- Subject: Re: Bug#157284: ssh: sftp does not deal with remote file names contain some characters
- From: Colin Watson <cjwatson@debian.org>
- Date: Tue, 22 Jul 2008 18:09:06 +0100
- Message-id: <20080722170906.GA16997@riva.ucam.org>
- In-reply-to: <871y4g318d.fsf@orcus.priv.at>
- References: <871y4g318d.fsf@orcus.priv.at>
Source: openssh
Source-Version: 1:4.0p1-1
On Tue, Dec 17, 2002 at 08:16:18PM +0100, Robert Bihlmeyer wrote:
> > sftp> get [test]
> > File "/root/[test]" not found.
>
> The get command shell pathname expansion, for which [ is special.
> get \[test]
> should work.
>
> This is probably an intentional feature ("get *.c" is very useful),
> but should really be documented. Here's a patch:
Thanks, and sorry I didn't deal with this at the time. Upstream made a
similar change some time back, which was included in OpenSSH 4.0p1:
revision 1.57
date: 2004/12/06 11:46:46; author: dtucker; state: Exp; lines: +85 -31
- jaredy@cvs.openbsd.org 2004/12/05 23:55:07
[sftp.1]
- explain that patterns can be used as arguments in get/put/ls/etc
commands (prodded by Michael Knudsen)
- describe ls flags as a list
- other minor improvements
ok jmc, djm
Regards,
--
Colin Watson [cjwatson@debian.org]
--- End Message ---
Reply to: