Package twisted :: Package conch :: Package ssh :: Module userauth :: Class SSHUserAuthServer
[frames | no frames]

Class SSHUserAuthServer

SSHService --+
             |
            SSHUserAuthServer


Method Summary
  _cbFinishedAuth(self, (interface, avatar, logout))
  _ebBadAuth(self, reason)
  _ebCheckKey(self, reason, packet)
  _ebMaybeBadAuth(self, reason)
  _pamConv(self, items)
  auth_keyboard_interactive(self, packet)
  auth_password(self, packet)
  auth_publickey(self, packet)
  serviceStarted(self)
called when the service is active on the transport.
  serviceStopped(self)
called when the service is stopped, either by the connection ending or by another service being started
  ssh_USERAUTH_INFO_RESPONSE(self, packet)
  ssh_USERAUTH_REQUEST(self, packet)
  timeoutAuthentication(self)
  tryAuth(self, kind, user, data)
    Inherited from SSHService
  packetReceived(self, messageType, packet)
called when we receieve a packet on the transport

Class Variable Summary
int attemptsBeforeDisconnect = 20                                                                    
int loginTimeout = 36000                                                                 
str name = 'ssh-userauth'
dict protocolMessages = {50: 'MSG_USERAUTH_REQUEST', 51: 'MSG...
list supportedMethods = ['publickey', 'password', 'keyboard-i...
    Inherited from SSHService
NoneType transport = None                                                                  

Method Details

serviceStarted(self)

called when the service is active on the transport.
Overrides:
twisted.conch.ssh.service.SSHService.serviceStarted (inherited documentation)

serviceStopped(self)

called when the service is stopped, either by the connection ending or by another service being started
Overrides:
twisted.conch.ssh.service.SSHService.serviceStopped (inherited documentation)

Class Variable Details

attemptsBeforeDisconnect

Type:
int
Value:
20                                                                    

loginTimeout

Type:
int
Value:
36000                                                                 

name

Type:
str
Value:
'ssh-userauth'                                                         

protocolMessages

Type:
dict
Value:
{50: 'MSG_USERAUTH_REQUEST',
 51: 'MSG_USERAUTH_FAILURE',
 52: 'MSG_USERAUTH_SUCCESS',
 53: 'MSG_USERAUTH_BANNER',
 60: 'MSG_USERAUTH_PK_OK',
 61: 'MSG_USERAUTH_INFO_RESPONSE'}                                     

supportedMethods

Type:
list
Value:
['publickey', 'password', 'keyboard-interactive']                      

Generated by Epydoc 2.0 on Sat Sep 13 04:20:51 2003 http://epydoc.sf.net