t.c.c.UNIXAuthorizedKeysFiles(object) : class documentation

Part of twisted.conch.checkers View Source View In Hierarchy

Object that provides SSH public keys based on public keys listed in authorized_keys and authorized_keys2 files in UNIX user .ssh/ directories. If any of the files cannot be read, a message is logged but that file is otherwise ignored.
Present Since15.0.0
Method __init__ Initializes a new UNIXAuthorizedKeysFiles.
Method getAuthorizedKeys Undocumented
def __init__(self, userdb=None, parseKey=keys.Key.fromString): (source)
Initializes a new UNIXAuthorizedKeysFiles.
Parametersuserdbaccess to the Unix user account and password database (default is the Python module pwd) (type: pwd-like object)
parseKeya callable that takes a string and returns a twisted.conch.ssh.keys.Key, mainly to be used for testing. The default is twisted.conch.ssh.keys.Key.fromString. (type: callable)
def getAuthorizedKeys(self, username): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.