[Twisted-Python] SSH agent

Paul Swartz paulswartz at gmail.com
Mon Aug 27 08:41:20 EDT 2007

On 8/27/07, stefan.lange at ubs.com <stefan.lange at ubs.com> wrote:
> Hi Paul,
> I want to use a scripted approach for executing different sorts of tasks on a couple of machines, initiated from 1 central machine.
> The administrative user should get prompted for the SSH passphrase only once (at start of the script), from then on the script should run unattended, without requiring further interactive input.
> Would you estimate the subset of SSH agent functionality implemented in Conch is sufficient for this? Which features are missing?

If that's all you want, you don't need an agent at all.  Just decrypt
the key (see t.c.ssh.keys.getPrivateKeyObject) and then implement
something like doc/conch/examples/sshsimpleclient.py using that
decrypted key.

Paul Swartz
paulswartz at gmail dot com
AIM: z3penguin

More information about the Twisted-Python mailing list