twisted.conch.client.direct.SSHClientTransport(transport.SSHClientTransport) class documentationtwisted.conch.client.direct
          View Source
          (View In Hierarchy)
        
      | Method | __init__ | Undocumented | 
| Method | connectionLost | Called when the connection is shut down. | 
| Method | receiveError | Called when we receive a disconnect error message from the other side. | 
| Method | sendDisconnect | Send a disconnect message to the other side and then disconnect. | 
| Method | receiveDebug | Called when we receive a debug message from the other side. | 
| Method | verifyHostKey | Returns a Deferred that gets a callback if it is a valid key, or an errback if not. | 
| Method | setService | Set our service to service and start it running. If we were running a service previously, stop it first. | 
| Method | connectionSecure | Called when the encryption has been set up. Generally, requestService() is called to run another service over the transport. | 
Inherited from BaseProtocol (via SSHClientTransport, SSHTransportBase, Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
Inherited from BaseProtocol (via SSHClientTransport, SSHTransportBase, Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
Inherited from BaseProtocol (via SSHClientTransport, SSHTransportBase, Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
Inherited from BaseProtocol (via SSHClientTransport, SSHTransportBase, Protocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
Called when the connection is shut down.
Clear any circular references here, and any external references to this Protocol. The connection has been closed.
Called when we receive a disconnect error message from the other side.
| Parameters | reasonCode | the reason for the disconnect, one of the DISCONNECT_ values. (type: int) | 
| description | a human-readable description of the disconnection. (type: str) | 
Send a disconnect message to the other side and then disconnect.
| Parameters | reason | the reason for the disconnect.  Should be one of the DISCONNECT_* values. (type: int) | 
| desc | a descrption of the reason for the disconnection. (type: str) | 
Called when we receive a debug message from the other side.
| Parameters | alwaysDisplay | if True, this message should always be displayed. (type: bool) | 
| message | the debug message (type: str) | |
| lang | optionally the language the message is in. (type: str) | 
Returns a Deferred that gets a callback if it is a valid key, or an errback if not.
| Returns |  (type: twisted.internet.defer.Deferred) | |
Set our service to service and start it running. If we were running a service previously, stop it first.
Called when the encryption has been set up. Generally, requestService() is called to run another service over the transport.