Package DataCollector :: Module SshClient :: Class SshUserAuth
[show private | hide private]
[frames | no frames]

Class SshUserAuth

   Logger --+        
            |        
   SSHService --+    
                |    
SSHUserAuthClient --+
                    |
                   SshUserAuth


Method Summary
  __init__(self, user, instance, factory)
  getPassword(self)
Deferred getPrivateKey(self)
Return a Deferred that will be called back with the private key corresponding to the last public key from getPublicKey().
str/None getPublicKey(self)
Return a public key for the user.
Inherited from SSHUserAuthClient: askForAuth, auth_keyboard_interactive, auth_password, auth_publickey, getGenericAnswers, serviceStarted, signData, ssh_USERAUTH_FAILURE, ssh_USERAUTH_PK_OK, ssh_USERAUTH_SUCCESS, tryAuth
Inherited from SSHService: logPrefix, packetReceived, serviceStopped

Class Variable Summary
bool lastPublicKey = False
Inherited from SSHUserAuthClient: name, preferredOrder, protocolMessages
Inherited from SSHService: transport
Inherited from Logger: __implemented__, __providedBy__, __provides__

Method Details

getPrivateKey(self)

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:
Deferred
Overrides:
twisted.conch.ssh.userauth.SSHUserAuthClient.getPrivateKey (inherited documentation)

getPublicKey(self)

Return a public key for the user. If no more public keys are available, return None.
Returns:
str/None
Overrides:
twisted.conch.ssh.userauth.SSHUserAuthClient.getPublicKey (inherited documentation)

Class Variable Details

lastPublicKey

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 http://epydoc.sf.net