Add SFTP-only backend

Bug #387218 reported by Cristian Klein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

As of v0.6.0 duplicity does not have a pure SFTP backend, i.e. a backend that uses *only* the SFTP command to communicate with the backup host. The existing backends (SSH / SCP) use SFTP but also SCP. Using only SFTP is desired, because one may create a restricted shell in which SFTP can be run without shell (PTY) access. This is not possible with SCP.

The patch below addresses this issue, by adding a "sftp://" scheme. The most important file (backends/sftpbackend.py) is a modification of sshbackend, but replaces all scp commands with their equivalent sftp ones.

Tags: sftp
Revision history for this message
Cristian Klein (cristiklein) wrote :
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

I fixed one problem with arguments to get and patched duplicity to be sftp only. Clean solution.

Changed in duplicity:
importance: Undecided → Medium
status: New → Fix Committed
Changed in duplicity:
milestone: none → 0.6.1
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.