duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Re: Problem with scp backend and --collection-statu


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Re: Problem with scp backend and --collection-status
Date: Tue, 29 May 2007 11:10:22 -0500
User-agent: Thunderbird 1.5.0.10 (X11/20070306)

Andreas Schildbach wrote:
Kenneth Loafman wrote:

    raise BackendException("Error running '%s'" % commandline)
duplicity.backends.BackendException: Error running 'printf 'cd backup/
ls -1' | sftp -b - address@hidden'

Make sure you can ssh or sftp into the system without needing a password. I ran across this when I had not set up the certs on my new system.

I'm afraid I cannot do that. I'd like duplicity to interactively ask for a password, like ssh, scp and sftp do.

Yes, that has been a request for quite some time. Duplicity runs these as subprocesses and interactive access to the console from a subprocess is problematic, especially when dealing with Windows. What would be needed is an Expect-like package for Python that could interact with the subprocess to provide the password. That may come in the 0.5.0 release, once I've made the package stable.

In the meantime, a key on the remote system is the way to go. It would allow you to run unattended backups, which was the original goal anyway.

...Ken




reply via email to

[Prev in Thread] Current Thread [Next in Thread]