Part of twisted.conch.ssh.userauth View Source View In Hierarchy
Known subclasses: twisted.conch.client.default.SSHUserAuthClient, twisted.conch.scripts.tkconch.SSHUserAuthClient
Method | __init__ | Undocumented |
Method | serviceStarted | called when the service is active on the transport. |
Method | askForAuth | Undocumented |
Method | tryAuth | Undocumented |
Method | ssh_USERAUTH_SUCCESS | Undocumented |
Method | ssh_USERAUTH_FAILURE | Undocumented |
Method | ssh_USERAUTH_PK_OK | Undocumented |
Method | auth_publickey | Undocumented |
Method | auth_password | Undocumented |
Method | auth_keyboard_interactive | Undocumented |
Method | signData | No summary |
Method | getPublicKey | Return a public key for the user. If no more public keys are available, return None. |
Method | getPrivateKey | Return a Deferred that
will be called back with the private key corresponding to the last public
key from getPublicKey(). If the private key is not available, errback on
the Deferred.
|
Method | getPassword | Return a Deferred that
will be called back with a password. prompt is a string to display for the
password, or None for a generic 'user@hostname's password: '.
|
Method | getGenericAnswers | Returns a Deferred with
the responses to the promopts.
|
Method | _ebAuth | Undocumented |
Method | _cbSignedData | Undocumented |
Method | _setOldPass | Undocumented |
Method | _setNewPass | Undocumented |
Method | _cbGenericAnswers | Undocumented |
Method | _cbPassword | Undocumented |
Method | _cbSignData | Undocumented |
Inherited from SSHService:
Method | serviceStopped | called when the service is stopped, either by the connection ending or by another service being started |
Method | logPrefix | Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines. |
Method | packetReceived | called when we receive a packet on the transport |
Returns | (type: str /None
) |
Deferred
with
the responses to the promopts.
Parameters | name | The name of the authentication currently in progress. |
instruction | Describes what the authentication wants. | |
prompts | A list of (prompt, echo) pairs, where prompt is a string to display and echo is a boolean indicating whether the user's response should be echoed as they type it. |