Package buildbot :: Module manhole :: Class AuthorizedKeysChecker
[frames | no frames]

Class AuthorizedKeysChecker

SSHPublicKeyDatabase --+
                       |
                      AuthorizedKeysChecker


Accept connections using SSH keys from a given file.

SSHPublicKeyDatabase takes the username that the prospective client has requested and attempts to get a ~/.ssh/authorized_keys file for that username. This requires root access, so it isn't as useful as you'd like.

Instead, this subclass looks for keys in a single file, given as an argument. This file is typically kept in the buildmaster's basedir. The file should have 'ssh-dss ....' lines in it, just like authorized_keys.
Method Summary
  __init__(self, authorized_keys_file)
  checkKey(self, credentials)
    Inherited from SSHPublicKeyDatabase
  requestAvatarId(self, credentials)

Class Variable Summary
    Inherited from SSHPublicKeyDatabase
Implements __implemented__ = <implementedBy twisted.conch.checkers....
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple credentialInterfaces = (<MetaInterface twisted.cred.cred...

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net