Package twisted :: Package scripts :: Module tkconch :: Class SSHClientTransport

[show private | hide private]
[frames | no frames]

## Class SSHClientTransport

    BaseProtocol --+
                   |
            Protocol --+
                       |
        SSHTransportBase --+
                           |
          SSHClientTransport --+
                               |
                              SSHClientTransport

Method Summary
| ``connectionFailed`(self)` (Deprecated) (inherited from `Protocol`)
| ``connectionLost`(self, reason)` Called when the connection is shut down. (inherited from `SSHTransportBase`)
| ``connectionMade`(self)` Called when a connection is made. (inherited from `SSHClientTransport`)
| ``connectionSecure`(self)` Called when the encryption has been set up.
| ``dataReceived`(self, data)` Called whenever data is received. (inherited from `SSHTransportBase`)
| `getPacket(self)` (inherited from `SSHTransportBase`)
| ``isEncrypted`(self, direction)` direction must be in ["out", "in", "both"] (inherited from `SSHTransportBase`)
| ``isInKnownHosts`(self, host, pubKey)` checks to see if host is in the known_hosts file for the user.
| ``isVerified`(self, direction)` direction must be in ["out", "in", "both"] (inherited from `SSHTransportBase`)
| `receiveDebug(self, alwaysDisplay, message, lang)`
| `receiveError(self, code, desc)`
| `receiveUnimplemented(self, seqnum)` (inherited from `SSHTransportBase`)
| ``requestService`(self, instance)` Request that a service be run over this transport. (inherited from `SSHClientTransport`)
| `sendDebug(self, message, alwaysDisplay, language)` (inherited from `SSHTransportBase`)
| `sendDisconnect(self, code, reason)`
| `sendIgnore(self, message)` (inherited from `SSHTransportBase`)
| `sendKexInit(self)` (inherited from `SSHTransportBase`)
| `sendPacket(self, messageType, payload)` (inherited from `SSHTransportBase`)
| `sendUnimplemented(self)` (inherited from `SSHTransportBase`)
| `setService(self, service)` (inherited from `SSHTransportBase`)
| `ssh_DEBUG(self, packet)` (inherited from `SSHTransportBase`)
| `ssh_DISCONNECT(self, packet)` (inherited from `SSHTransportBase`)
| `ssh_IGNORE(self, packet)` (inherited from `SSHTransportBase`)
| `ssh_KEX_DH_GEX_GROUP(self, packet)` (inherited from `SSHClientTransport`)
| `ssh_KEX_DH_GEX_REPLY(self, packet)` (inherited from `SSHClientTransport`)
| `ssh_KEXINIT(self, packet)` (inherited from `SSHClientTransport`)
| `ssh_NEWKEYS(self, packet)` (inherited from `SSHClientTransport`)
| `ssh_SERVICE_ACCEPT(self, packet)` (inherited from `SSHClientTransport`)
| `ssh_UNIMPLEMENTED(self, packet)` (inherited from `SSHTransportBase`)
| `verifyHostKey(self, pubKey, fingerprint)`

Method Details

### connectionSecure(self)

Called when the encryption has been set up. Generally, requestService() is called to run another service over the transport.

  Overrides:
    `twisted.conch.ssh.transport.SSHClientTransport.connectionSecure` (inherited documentation)

### isInKnownHosts(self, host, pubKey)

checks to see if host is in the known_hosts file for the user. returns 0 if it isn't, 1 if it is and is the same, 2 if it's changed.

Generated by Epydoc 1.1 on Sat Feb 15 21:18:08 2003 | http://epydoc.sf.net