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 the keys of the user specified by the credentials, and check
if one matches the blob in the credentials. |
source code
|
|
Inherited from twisted.conch.checkers.SSHPublicKeyDatabase :
requestAvatarId
|
Inherited from twisted.conch.checkers.SSHPublicKeyDatabase :
credentialInterfaces
|
Retrieve the keys of the user specified by the credentials, and check
if one matches the blob in the credentials.
- Overrides:
twisted.conch.checkers.SSHPublicKeyDatabase.checkKey
- (inherited documentation)
|