[Twisted-Python] SSH agent

stefan.lange at ubs.com stefan.lange at ubs.com
Mon Aug 27 12:00:09 EDT 2007

Thanks, you are certainly right. 
I was first concerned about security implications when directly reading in the private key instead of accessing an SSH agent but on second thought there seems no difference security wise.
Got the slightly modified example working, following your advice.

Another question:
Is there already functionality in Twisted for using Kerberos for SSH authentication?


-----Original Message-----
From: twisted-python-bounces at twistedmatrix.com
[mailto:twisted-python-bounces at twistedmatrix.com]On Behalf Of Paul
Sent: 27 August 2007 14:41
To: Twisted general discussion
Subject: Re: [Twisted-Python] SSH agent

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

Twisted-Python mailing list
Twisted-Python at twistedmatrix.com

More information about the Twisted-Python mailing list