Trees | Index | Help |
|
---|
Package twisted :: Package conch :: Package ssh :: Module transport :: Class SSHClientTransport |
|
BaseProtocol
--+ |Protocol
--+ |SSHTransportBase
--+ | SSHClientTransport
SshClientTransport
Method Summary | |
---|---|
Called when a connection is made. | |
Called when the encryption has been set up. | |
Request that a service be run over this transport. | |
ssh_KEX_DH_GEX_GROUP(self,
packet)
| |
ssh_KEX_DH_GEX_REPLY(self,
packet)
| |
ssh_KEXINIT(self,
packet)
| |
ssh_NEWKEYS(self,
packet)
| |
ssh_SERVICE_ACCEPT(self,
packet)
| |
Deferred
|
Returns a Deferred that gets a callback if it is a valid key, or an errback if not. |
Inherited from SSHTransportBase :
connectionLost ,
dataReceived ,
getPacket ,
isEncrypted ,
isVerified ,
loseConnection ,
receiveDebug ,
receiveError ,
receiveUnimplemented ,
sendDebug ,
sendDisconnect ,
sendIgnore ,
sendKexInit ,
sendPacket ,
sendUnimplemented ,
setService ,
ssh_DEBUG ,
ssh_DISCONNECT ,
ssh_IGNORE ,
ssh_UNIMPLEMENTED
|
Class Variable Summary | |
---|---|
int |
isClient = 1 |
Inherited from SSHTransportBase :
buf ,
comment ,
currentEncryptions ,
gotVersion ,
ignoreNextPacket ,
incomingCompression ,
incomingPacketSequence ,
isAuthorized ,
ourVersionString ,
outgoingCompression ,
outgoingPacketSequence ,
protocolVersion ,
service ,
sessionID ,
supportedCiphers ,
supportedCompressions ,
supportedKeyExchanges ,
supportedLanguages ,
supportedMACs ,
supportedPublicKeys ,
version
Inherited from Protocol :
__implemented__ ,
__provides__
|
Method Details |
---|
connectionMade(self)Called when a connection is made. This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
|
connectionSecure(self)Called when the encryption has been set up. Generally, requestService() is called to run another service over the transport. |
requestService(self, instance)Request that a service be run over this transport.
|
verifyHostKey(self, hostKey, fingerprint)Returns a Deferred that gets a callback if it is a valid key, or an errback if not.
|
Class Variable Details |
---|
isClient
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 | http://epydoc.sf.net |