Package twisted :: Package conch :: Package ssh :: Module transport :: Class SSHServerTransport
[frames | no frames]

Class SSHServerTransport

BaseProtocol --+        
               |        
        Protocol --+    
                   |    
    SSHTransportBase --+
                       |
                      SSHServerTransport


Method Summary
  _getKey(self, c, sharedSecret, exchangeHash)
  _keySetup(self, sharedSecret, exchangeHash)
  ssh_KEX_DH_GEX_INIT(self, packet)
  ssh_KEX_DH_GEX_REQUEST(self, packet)
  ssh_KEX_DH_GEX_REQUEST_OLD(self, packet)
  ssh_KEXINIT(self, packet)
  ssh_NEWKEYS(self, packet)
  ssh_SERVICE_REQUEST(self, packet)
    Inherited from SSHTransportBase
  connectionLost(self, reason)
  connectionMade(self)
Called when a connection is made.
  dataReceived(self, data)
Called whenever data is received.
  getPacket(self)
  isEncrypted(self, direction)
direction must be in ["out", "in", "both"]
  isVerified(self, direction)
direction must be in ["out", "in", "both"]
  receiveDebug(self, alwaysDisplay, message, lang)
  receiveError(self, reasonCode, description)
  receiveUnimplemented(self, seqnum)
  sendDebug(self, message, alwaysDisplay, language)
  sendDisconnect(self, reason, desc)
  sendIgnore(self, message)
  sendKexInit(self)
  sendPacket(self, messageType, payload)
  sendUnimplemented(self)
  setService(self, service)
  ssh_DEBUG(self, packet)
  ssh_DISCONNECT(self, packet)
  ssh_IGNORE(self, packet)
  ssh_UNIMPLEMENTED(self, packet)
    Inherited from Protocol
  connectionFailed(self)
(Deprecated)
    Inherited from BaseProtocol
  makeConnection(self, transport)
Make a connection to a transport and a server.

Class Variable Summary
int isClient = 0                                                                     
    Inherited from SSHTransportBase
str buf = ''
str comment = ''
NoneType currentEncryptions = None                                                                  
int gotVersion = 0                                                                     
int ignoreNextPacket = 0                                                                     
NoneType incomingCompression = None                                                                  
int incomingPacketSequence = 0                                                                     
int isAuthorized = 0                                                                     
str ourVersionString = 'SSH-2.0-Twisted'
NoneType outgoingCompression = None                                                                  
int outgoingPacketSequence = 0                                                                     
str protocolVersion = '2.0'
NoneType service = None                                                                  
NoneType sessionID = None                                                                  
list supportedCiphers = ['aes256-ctr', 'aes256-cbc', 'aes192-...
list supportedCompressions = ['none', 'zlib']
list supportedKeyExchanges = ['diffie-hellman-group-exchange-...
tuple supportedLanguages = ()
list supportedMACs = ['hmac-sha1', 'hmac-md5']
list supportedPublicKeys = ['ssh-rsa', 'ssh-dss']
str version = 'Twisted'
    Inherited from Protocol
tuple __implements__ = (<class twisted.internet.interfaces.IPr...
    Inherited from BaseProtocol
int connected = 0                                                                     
NoneType transport = None                                                                  

Class Variable Details

isClient

Type:
int
Value:
0                                                                     

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