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

Module twisted.conch.ssh.transport

The lowest level SSH protocol. This handles the key negotiation, the encryption and the compression.

This module is unstable.

Maintainer: Paul Swartz
Classes
SSHCiphers  
SSHClientTransport  
SSHServerTransport  
SSHTransportBase  

Function Summary
  buffer_dump(b, title)

Variable Summary
long DH_GENERATOR = 2L
long DH_PRIME = 179769313486231590770839156793787453197860296...
int DISCONNECT_AUTH_CANCELLED_BY_USER = 13                                                                    
int DISCONNECT_BY_APPLICATION = 11                                                                    
int DISCONNECT_COMPRESSION_ERROR = 6                                                                     
int DISCONNECT_CONNECTION_LOST = 10                                                                    
int DISCONNECT_HOST_KEY_NOT_VERIFIABLE = 9                                                                     
int DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT = 1                                                                     
int DISCONNECT_ILLEGAL_USER_NAME = 15                                                                    
int DISCONNECT_KEY_EXCHANGE_FAILED = 3                                                                     
int DISCONNECT_MAC_ERROR = 5                                                                     
int DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE = 14                                                                    
int DISCONNECT_PROTOCOL_ERROR = 2                                                                     
int DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED = 8                                                                     
int DISCONNECT_RESERVED = 4                                                                     
int DISCONNECT_SERVICE_NOT_AVAILABLE = 7                                                                     
int DISCONNECT_TOO_MANY_CONNECTIONS = 12                                                                    
dict messages = {32: 'MSG_KEX_DH_GEX_INIT', 1: 'MSG_DISCONNEC...
int MSG_DEBUG = 4                                                                     
int MSG_DISCONNECT = 1                                                                     
int MSG_IGNORE = 2                                                                     
int MSG_KEX_DH_GEX_GROUP = 31                                                                    
int MSG_KEX_DH_GEX_INIT = 32                                                                    
int MSG_KEX_DH_GEX_REPLY = 33                                                                    
int MSG_KEX_DH_GEX_REQUEST = 34                                                                    
int MSG_KEX_DH_GEX_REQUEST_OLD = 30                                                                    
int MSG_KEXDH_INIT = 30                                                                    
int MSG_KEXDH_REPLY = 31                                                                    
int MSG_KEXINIT = 20                                                                    
int MSG_NEWKEYS = 21                                                                    
int MSG_SERVICE_ACCEPT = 6                                                                     
int MSG_SERVICE_REQUEST = 5                                                                     
int MSG_UNIMPLEMENTED = 3                                                                     

Variable Details

DH_GENERATOR

Type:
long
Value:
2L                                                                     

DH_PRIME

Type:
long
Value:
1797693134862315907708391567937874531978602960487560117064444236841971\
8021615851936894783379586492554150218056548598050364644054819923910005\
0792877003355816639229553136239076508735759914822574862575007425302077\
4477125895509579377784244424266173347276292993876687092056060502708108\
42907692932019128194467627007L                                         

DISCONNECT_AUTH_CANCELLED_BY_USER

Type:
int
Value:
13                                                                    

DISCONNECT_BY_APPLICATION

Type:
int
Value:
11                                                                    

DISCONNECT_COMPRESSION_ERROR

Type:
int
Value:
6                                                                     

DISCONNECT_CONNECTION_LOST

Type:
int
Value:
10                                                                    

DISCONNECT_HOST_KEY_NOT_VERIFIABLE

Type:
int
Value:
9                                                                     

DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT

Type:
int
Value:
1                                                                     

DISCONNECT_ILLEGAL_USER_NAME

Type:
int
Value:
15                                                                    

DISCONNECT_KEY_EXCHANGE_FAILED

Type:
int
Value:
3                                                                     

DISCONNECT_MAC_ERROR

Type:
int
Value:
5                                                                     

DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE

Type:
int
Value:
14                                                                    

DISCONNECT_PROTOCOL_ERROR

Type:
int
Value:
2                                                                     

DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED

Type:
int
Value:
8                                                                     

DISCONNECT_RESERVED

Type:
int
Value:
4                                                                     

DISCONNECT_SERVICE_NOT_AVAILABLE

Type:
int
Value:
7                                                                     

DISCONNECT_TOO_MANY_CONNECTIONS

Type:
int
Value:
12                                                                    

messages

Type:
dict
Value:
{1: 'MSG_DISCONNECT',
 2: 'MSG_IGNORE',
 3: 'MSG_UNIMPLEMENTED',
 4: 'MSG_DEBUG',
 5: 'MSG_SERVICE_REQUEST',
 6: 'MSG_SERVICE_ACCEPT',
 20: 'MSG_KEXINIT',
 21: 'MSG_NEWKEYS',
...                                                                    

MSG_DEBUG

Type:
int
Value:
4                                                                     

MSG_DISCONNECT

Type:
int
Value:
1                                                                     

MSG_IGNORE

Type:
int
Value:
2                                                                     

MSG_KEX_DH_GEX_GROUP

Type:
int
Value:
31                                                                    

MSG_KEX_DH_GEX_INIT

Type:
int
Value:
32                                                                    

MSG_KEX_DH_GEX_REPLY

Type:
int
Value:
33                                                                    

MSG_KEX_DH_GEX_REQUEST

Type:
int
Value:
34                                                                    

MSG_KEX_DH_GEX_REQUEST_OLD

Type:
int
Value:
30                                                                    

MSG_KEXDH_INIT

Type:
int
Value:
30                                                                    

MSG_KEXDH_REPLY

Type:
int
Value:
31                                                                    

MSG_KEXINIT

Type:
int
Value:
20                                                                    

MSG_NEWKEYS

Type:
int
Value:
21                                                                    

MSG_SERVICE_ACCEPT

Type:
int
Value:
6                                                                     

MSG_SERVICE_REQUEST

Type:
int
Value:
5                                                                     

MSG_UNIMPLEMENTED

Type:
int
Value:
3                                                                     

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