| Home | Trees | Index | Help |
|---|
| Package twisted :: Package scripts :: Module conch :: Class SSHUserAuthClient |
|
SSHService--+ |SSHUserAuthClient--+ | SSHUserAuthClient
| Method Summary | |
|---|---|
__init__(self,
user,
instance)
(inherited from SSHUserAuthClient)
| |
askForAuth(self,
kind,
extraData)
(inherited from SSHUserAuthClient)
| |
auth_password(self)
(inherited from SSHUserAuthClient)
| |
auth_publickey(self)
(inherited from SSHUserAuthClient)
| |
Deferred
|
Return a Deferredthat will be called back with a
password. |
Deferred
|
Return a Deferredthat will be called back with the
private key corresponding to the last public key from getPublicKey(). |
str/None
|
Return a public key for the user. |
called when we receieve a packet on the transport (inherited from SSHService)
| |
called when the service is active on the transport. (inherited from SSHUserAuthClient)
| |
called when the service is stopped, either by the connection ending or by another service being started (inherited from SSHService)
| |
ssh_USERAUTH_FAILURE(self,
packet)
(inherited from SSHUserAuthClient)
| |
ssh_USERAUTH_PK_OK(self,
packet)
(inherited from SSHUserAuthClient)
| |
ssh_USERAUTH_SUCCESS(self,
packet)
(inherited from SSHUserAuthClient)
| |
tryAuth(self,
kind)
(inherited from SSHUserAuthClient)
| |
_cbPassword(self,
password)
(inherited from SSHUserAuthClient)
| |
_cbPK_OK(self,
privateKey)
(inherited from SSHUserAuthClient)
| |
_ebPK_OK(self,
ignored)
(inherited from SSHUserAuthClient)
| |
_errPass(self,
reason)
(inherited from SSHUserAuthClient)
| |
_setNewPass(self,
np)
(inherited from SSHUserAuthClient)
| |
_setOldPass(self,
op)
(inherited from SSHUserAuthClient)
| |
| Class Variable Summary | |
|---|---|
list |
usedFiles
|
| Method Details |
|---|
getPassword(self, prompt=None)Return aDeferred 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: '.
|
getPrivateKey(self)Return aDeferred 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.
|
getPublicKey(self)Return a public key for the user. If no more public keys are available, return None.
|
| Class Variable Details |
|---|
usedFiles
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jun 27 03:48:45 2003 | http://epydoc.sf.net |