Opened at 2011-07-24T19:40:04Z
Last modified at 2011-07-30T03:08:20Z
#1442 closed defect
scp fails silently when copying from a Tahoe SFTP frontend; it should fail loudly — at Initial Version
Reported by: | davidsarah | Owned by: | davidsarah |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | code-frontend | Version: | 1.8.2 |
Keywords: | scp error sftp reviewed | Cc: | |
Launchpad Bug: |
Description
Our SFTP frontend does not support scp, which is fine (scp tries to open a shell over the SSH connection, rather than using SFTP, and the set of commands that it can issue to that shell is not well-defined).
However, it isn't fine that it fails silently. This is probably a bug in scp rather than Tahoe, since Tahoe does report an error to the client when it tries to open a shell or issue unknown commands: lines 1873 and 1888 here. (We need to accept shell connections in order to support the df command used by sshfs.) We might be able to get scp to fail loudly by reporting a different error, though.