[tahoe-lafs-trac-stream] [tahoe-lafs] #1442: scp fails silently when copying from a Tahoe SFTP frontend; it should fail loudly

tahoe-lafs trac at tahoe-lafs.org
Tue Jul 26 14:42:36 PDT 2011


#1442: scp fails silently when copying from a Tahoe SFTP frontend; it should fail
loudly
-------------------------------+----------------------------
     Reporter:  davidsarah     |      Owner:  T_X
         Type:  defect         |     Status:  new
     Priority:  major          |  Milestone:  undecided
    Component:  code-frontend  |    Version:  1.8.2
   Resolution:                 |   Keywords:  scp error sftp
Launchpad Bug:                 |
-------------------------------+----------------------------
Changes (by davidsarah):

 * owner:  davidsarah => T_X


Comment:

 I can't reproduce this bug, reported on behalf of T_X. After
 [source:docs/frontends/FTP-and-SFTP.rst setting up SFTP access] on port
 8022 with account name davidsarah, I get:
 {{{
 $ scp -oport=8022 test davidsarah at 127.0.0.1:/
 davidsarah at 127.0.0.1's password: [password]
 lost connection
 }}}

 The "lost connection" is a sufficient error indication.

 The OpenSSH {{{sftp}}} client does work in the configuration I set up.

 {{{ssh}}} also gives an error as intended:
 {{{
 $ ssh -p 8022 davidsarah at 127.0.0.1
 davidsarah at 127.0.0.1's password: [wrong]
 Permission denied, please try again.
 davidsarah at 127.0.0.1's password: [password]
 This server supports only SFTP, not shell sessions.
                                                    Connection to 127.0.0.1
 closed.
 }}}

 I'm using the {{{scp}}} and {{{ssh}}} from Ubuntu Maverick (OpenSSH_5.5p1
 Debian-4ubuntu5, OpenSSL 0.9.8o 01 Jun 2010), and Tahoe trunk (with local
 changes that shouldn't be relevant to SFTP).

 Assigning to T_X in case there is any difference in how we're using
 {{{scp}}}.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1442#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list