Public bug reported:

I am unsure if the bug is with openssh sftp client or within openssh-
sftp-server

When traversing an sftp server, I encounter issues for files and, in
particular, directories containing the character "]". Tab completion
does not escape the character in sftp shell, however, in bash it will
escape the character for tab completion. If I "cd" into a directory that
contains the character I cannot get any files with in that directory and
I have to rename the directory outside of the sftp shell to remove the
character in order to be able to correctly get files.

Ex:

sftp> cd Movie\ \[1080p]/
sftp> ls
Movie.1080p.mp4
sftp> get Movie.1080p.mp4
File "/home/hitsuji/movies/Movie [1080p]/Movie.1080p.mp4" not found.
sftp>

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openssh-client 1:6.6p1-2ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
Uname: Linux 3.16.0-45-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Aug 11 14:36:00 2015
InstallationDate: Installed on 2015-05-01 (101 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
RelatedPackageVersions:
 ssh-askpass       N/A
 libpam-ssh        N/A
 keychain          N/A
 ssh-askpass-gnome 1:6.6p1-2ubuntu2
SSHClientVersion: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1483751

Title:
  Issues traversing a sftp server when files or folders contain the
  character "]"

Status in openssh package in Ubuntu:
  New

Bug description:
  I am unsure if the bug is with openssh sftp client or within openssh-
  sftp-server

  When traversing an sftp server, I encounter issues for files and, in
  particular, directories containing the character "]". Tab completion
  does not escape the character in sftp shell, however, in bash it will
  escape the character for tab completion. If I "cd" into a directory
  that contains the character I cannot get any files with in that
  directory and I have to rename the directory outside of the sftp shell
  to remove the character in order to be able to correctly get files.

  Ex:

  sftp> cd Movie\ \[1080p]/
  sftp> ls
  Movie.1080p.mp4
  sftp> get Movie.1080p.mp4
  File "/home/hitsuji/movies/Movie [1080p]/Movie.1080p.mp4" not found.
  sftp>

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: openssh-client 1:6.6p1-2ubuntu2
  ProcVersionSignature: Ubuntu 3.16.0-45.60~14.04.1-generic 3.16.7-ckt14
  Uname: Linux 3.16.0-45-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Aug 11 14:36:00 2015
  InstallationDate: Installed on 2015-05-01 (101 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 
(20150218.1)
  RelatedPackageVersions:
   ssh-askpass       N/A
   libpam-ssh        N/A
   keychain          N/A
   ssh-askpass-gnome 1:6.6p1-2ubuntu2
  SSHClientVersion: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1483751/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to