| Method Summary |
Deferred
|
getPassword(self,
prompt)
Return a Deferred that will be called back with a
password. |
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 |
| |
__init__(self,
user,
instance)
|
| |
_cbPassword(self,
password)
|
| |
_cbPK_OK(self,
privateKey)
|
| |
_ebPK_OK(self,
ignored)
|
| |
_errPass(self,
reason)
|
| |
_setNewPass(self,
np)
|
| |
_setOldPass(self,
op)
|
| |
askForAuth(self,
kind,
extraData)
|
| |
auth_password(self)
|
| |
auth_publickey(self)
|
| |
serviceStarted(self)
called when the service is active on the transport. |
| |
ssh_USERAUTH_FAILURE(self,
packet)
|
| |
ssh_USERAUTH_PK_OK(self,
packet)
|
| |
ssh_USERAUTH_SUCCESS(self,
packet)
|
| |
tryAuth(self,
kind)
|
| Inherited from SSHService |
| |
packetReceived(self,
messageType,
packet)
called when we receieve a packet on the transport |
| |
serviceStopped(self)
called when the service is stopped, either by the connection ending or
by another service being started |