[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#611380: openssh-client: sftp's put -r fails with "Unable to canonicalise path"



Package: openssh-client
Version: 1:5.5p1-6
Severity: normal
File: /usr/bin/sftp

When I use the command line sftp client and try to use "put -r", I get
the error 'Unable to canonicalize path "/home/bmc/foodir"'.  I suppose
that is because the directory in question does not exist (that's why I'm
uploading it).  A normal put works just fine, but obviously that doesn't
work for directories.  Also, using "put -r" works if the destination
directory (below, /home/bmc/foodir) already exists.  scp works fine.

Both machines are running Debian amd64/sid using GSSAPI authentication
(which works fine since I'm able to do an ls).  If there's something
that you'd like me to test, please let me know.

Transcript:

  bmc@lakeview:/tmp
  (2011-01-28/15:50:19)(pts/9)(ac+99%)(ok)
  lakeview ok % sftp castro
  Connected to castro.
  sftp> ls
  Maildir             bin                 checkouts           emul                patches             procmail.log        public_html         
  share               telemarketers       tmp                 version-controlled  workspaces          writings            
  sftp> put -r foodir
  Uploading foodir/ to /home/bmc/foodir
  Couldn't canonicalise: No such file or directory
  Unable to canonicalise path "/home/bmc/foodir"
  sftp> ^D


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openssh-client depends on:
ii  adduser              3.112+nmu2          add and remove users and groups
ii  cdebconf [debconf-2. 0.153               Debian Configuration Management Sy
ii  debconf [debconf-2.0 1.5.38              Debian configuration management sy
ii  dpkg                 1.15.8.8            Debian package management system
ii  libc6                2.11.2-10           Embedded GNU C Library: Shared lib
ii  libedit2             2.11-20080614-2     BSD editline and history libraries
ii  libgssapi-krb5-2     1.9+dfsg~beta2-1    MIT Kerberos runtime libraries - k
ii  libssl0.9.8          0.9.8o-4            SSL shared libraries
ii  passwd               1:4.1.4.2+svn3283-2 change and administer password and
ii  zlib1g               1:1.2.3.4.dfsg-3    compression library - runtime

Versions of packages openssh-client recommends:
ii  openssh-blacklist             0.4.1      list of default blacklisted OpenSS
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.5-1  X authentication utility

Versions of packages openssh-client suggests:
pn  keychain                      <none>     (no description available)
pn  libpam-ssh                    <none>     (no description available)
pn  ssh-askpass                   <none>     (no description available)

-- Configuration Files:
/etc/ssh/ssh_config changed:
Host *
	StrictHostKeyChecking no
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIKeyExchange yes
    GSSAPIDelegateCredentials yes
	GSSAPIRenewalForcesRekey yes
	RekeyLimit 128M


-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


Reply to: