twisted.conch.scripts.tkconch.SSHUserAuthClient(userauth.SSHUserAuthClient)
class documentationtwisted.conch.scripts.tkconch
View Source
(View In Hierarchy)
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 | 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 object corresponding to the last
public key from getPublicKey(). If the private key is not available,
errback on the Deferred. |
Method | _cbGetPrivateKey | Undocumented |
Inherited from SSHService (via SSHUserAuthClient):
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 |
Inherited from SSHService (via SSHUserAuthClient):
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 |
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: '.
Returns | (type: defer.Deferred ) |
Return a public key for the user. If no more public keys are available,
return None
.
This implementation always returns None
. Override it in a
subclass to actually find and return a public key object.
Returns | (type: Key or
NoneType ) |