| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package conch :: Package ssh :: Module userauth :: Class SSHUserAuthClient |
|
SSHService --+
|
SSHUserAuthClient
SSHUserAuthClient| Method Summary | |
|---|---|
__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)
| |
Deferred
|
Return a Deferred that will be called back with a
password. |
Deferred
|
Return a Deferred that 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 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 | |
called when we receieve a packet on the transport | |
called when the service is stopped, either by the connection ending or by another service being started | |
| Class Variable Summary | |
|---|---|
str |
name = 'ssh-userauth'
|
dict |
protocolMessages = {50: 'MSG_USERAUTH_REQUEST', 51: 'MSG...
|
| Inherited from SSHService | |
NoneType |
transport = None |
| 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.
|
serviceStarted(self)called when the service is active on the transport.
|
| Class Variable Details |
|---|
name
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Sep 13 04:20:34 2003 | http://epydoc.sf.net |