Class AuthorizedKeysChecker
source code
twisted.conch.checkers.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.
|
|
|
checkKey(self,
credentials)
Retrieve files containing authorized keys and check against user
credentials. |
source code
|
|
Inherited from twisted.conch.checkers.SSHPublicKeyDatabase :
__providedBy__ ,
__provides__ ,
getAuthorizedKeysFiles ,
requestAvatarId
|
Inherited from twisted.conch.checkers.SSHPublicKeyDatabase :
__implemented__ ,
credentialInterfaces
|
Retrieve files containing authorized keys and check against user
credentials.
- Overrides:
twisted.conch.checkers.SSHPublicKeyDatabase.checkKey
- (inherited documentation)
|