[Twisted-Python] Need SSH help

Paul Swartz z3p at twistedmatrix.com
Wed Mar 2 14:46:57 MST 2005


On Wed, 2005-03-02 at 16:21 +0000, Bad_Bob wrote:
>Thanks, that worked!
>
>One more question: 
>How do I authenticate with public keys?

I assume you mean authenticate the client to the server using public
keys?
You need to set up a CredentialChecker that checks ISSHPublicKey.  Take
a look at t.c.checkers.SSHPublicKeyDatabase.  If you're not familiar
with how Cred works, you should also look at the Cred HOWTO.

-p
-- 
       Paul Swartz
(o_    http://z3p.livejournal.com/  _o)
//\    z3p at twistedmatrix.com        /\\
V_/_   AIM: z3penguin              _\_V->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: </pipermail/twisted-python/attachments/20050302/417b613d/attachment.sig>


More information about the Twisted-Python mailing list