Trees | Index | Help |
|
---|
Package DataCollector :: Module SshClient :: Class SshClientTransport |
|
BaseProtocol
--+ |Protocol
--+ |SSHTransportBase
--+ |SSHClientTransport
--+ | SshClientTransport
Method Summary | |
---|---|
Called when a connection is made. | |
Called when the encryption has been set up. | |
Deferred
|
Returns a Deferred that gets a callback if it is a valid key, or an errback if not. |
Inherited from SSHClientTransport :
requestService ,
ssh_KEX_DH_GEX_GROUP ,
ssh_KEX_DH_GEX_REPLY ,
ssh_KEXINIT ,
ssh_NEWKEYS ,
ssh_SERVICE_ACCEPT ,
_continueGEX_GROUP ,
_continueGEX_REPLY ,
_getKey ,
_keySetup
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
Inherited from BaseProtocol :
makeConnection
|
Class Variable Summary | |
---|---|
Inherited from SSHClientTransport :
isClient
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__
Inherited from BaseProtocol :
__providedBy__ ,
connected ,
transport
|
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.
|
verifyHostKey(self, hostKey, fingerprint)Returns a Deferred that gets a callback if it is a valid key, or an errback if not.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 | http://epydoc.sf.net |