Class to gather credentials for use with our SSH connection, and use
them to authenticate against the remote device.
|
|
__init__(self,
user,
instance,
factory)
If no username is supplied, defaults to the user running this code
(eg zenoss) |
source code
|
|
|
Twisted deferred object
|
|
|
|
|
|
|
|
|
|
_handleFailure(self,
message,
event_key=None)
Handle a failure by logging a message and sending an event. |
source code
|
|
|
|
|
|
string
|
|
|
Twisted deferred object
|
|
bool
|
|
defer.Deferred or None
|
|
|
|
|
|
|
serviceStopped(self,
*args,
**kwargs)
called when the service is stopped, either by the connection ending
or by another service being started |
source code
|
|
|
Inherited from twisted.conch.ssh.userauth.SSHUserAuthClient:
askForAuth,
auth_password,
auth_publickey,
serviceStarted,
signData,
ssh_USERAUTH_PK_OK,
ssh_USERAUTH_PK_OK_keyboard_interactive,
ssh_USERAUTH_PK_OK_password,
ssh_USERAUTH_PK_OK_publickey,
tryAuth
Inherited from twisted.conch.ssh.userauth.SSHUserAuthClient (private):
_cbGenericAnswers,
_cbGetPublicKey,
_cbPassword,
_cbSignData,
_cbSignedData,
_cbUserauthFailure,
_ebAuth,
_setNewPass,
_setOldPass
Inherited from twisted.conch.ssh.service.SSHService:
logPrefix,
packetReceived
|