t.c.s.t.SSHUserAuthClient(userauth.SSHUserAuthClient) : class documentation

Part of twisted.conch.scripts.tkconch View Source View In Hierarchy

Undocumented
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 corresponding to the last public key from getPublicKey(). If the private key is not available, errback on the Deferred.
Method _cbGetPrivateKey Undocumented

Inherited from 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 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 (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
def getPassword(self, prompt=None): (source)
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: '.
Parametersprompt (type: str/None )
Returns (type: Deferred )
def getPublicKey(self): (source)
Return a public key for the user. If no more public keys are available, return None.
Returns (type: str/None )
def getPrivateKey(self): (source)
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.
Returns (type: Deferred )
def _cbGetPrivateKey(self, ans, count): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.