[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
Wed Jul 27 08:25:54 PDT 2011
#1442: scp fails silently when copying from a Tahoe SFTP frontend; it should fail
loudly
-------------------------------+----------------------------
Reporter: davidsarah | Owner: davidsarah
Type: defect | Status: assigned
Priority: major | Milestone: undecided
Component: code-frontend | Version: 1.8.2
Resolution: | Keywords: scp error sftp
Launchpad Bug: |
-------------------------------+----------------------------
Comment (by davidsarah):
Replying to [comment:2 T_X]:
> Ah wait, just found what's different: I'm copying _from_ tahoe-lafs _to_
a local directory. You're doing it the other way around and there I also
get that "lost connection". However when copying from tahoe-lafs, there I
don't get it: [...]
To avoid confusing other readers, you meant "when copying to tahoe-lafs,
there I don't get [the error]".
Anyway, it turns out that {{{scp}}} was just expecting the server to write
the error message. (I still think that's a bug, but never mind.)
With attachment:fix-1442-and-1446-version2.darcs.patch, we get:
{{{
$ scp -oport=8022 test davidsarah at 127.0.0.1:/test
davidsarah at 127.0.0.1's password:
This server supports only the SFTP protocol.
It does not support SCP, interactive shell sessions, or commands other
than 'df'.
lost connection
$ scp -oport=8022 davidsarah at 127.0.0.1:/test test
davidsarah at 127.0.0.1's password:
This server supports only the SFTP protocol.
It does not support SCP, interactive shell sessions, or commands other
than 'df'.
$ ssh -oport=8022 davidsarah at 127.0.0.1
davidsarah at 127.0.0.1's password:
This server supports only the SFTP protocol.
It does not support SCP, interactive shell sessions, or commands other
than 'df'.
Connection to 127.0.0.1 closed.
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1442#comment:4>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list