duplicity.backends.ssh_pexpect_backend module

class duplicity.backends.ssh_pexpect_backend.SSHPExpectBackend(parsed_url)[source]

Bases: duplicity.backend.Backend

This backend copies files using scp. List not supported. Filenames should not need any quoting or this will break.

get_scp(remote_filename, local_path)[source]
get_sftp(remote_filename, local_path)[source]
put_scp(source_path, remote_filename)[source]
put_sftp(source_path, remote_filename)[source]
run_scp_command(commandline)[source]

Run an scp command, responding to password prompts

run_sftp_command(commandline, commands)[source]

Run an sftp command, responding to password prompts, passing commands from list