|
From: | Kenneth Loafman |
Subject: | Re: [Duplicity-talk] Re: Problem with scp backend and --collection-status |
Date: | Tue, 29 May 2007 13:17:08 -0500 |
User-agent: | Thunderbird 1.5.0.10 (X11/20070306) |
Charles Duffy wrote:
Kenneth Loafman wrote: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.I make frequent use of pexpect [http://pexpect.sf.net/], though last I knew it didn't work on Windows (due to a dependency on the pty module).The Bazaar-NG project, looking for a cross-platform way to do SFTP manipulation, ended up switching to a pure-Python SSH implementation, Paramiko [http://www.lag.net/paramiko/].
I will look into these packages. The goal is to maintain compatibility with as wide an audience as possible, thus ruleing out pexpect. Paramiko is only SSH2 and some SSH1 servers still exist. Will see.
...Ken
[Prev in Thread] | Current Thread | [Next in Thread] |