The lowest level SSH protocol. This handles the key negotiation, the encryption and the compression. The transport layer is described in RFC 4253.

Maintainer: Paul Swartz

Class SSHCiphers SSHCiphers represents all the encryption operations that need to occur to encrypt and authenticate the SSH connection.
Class SSHTransportBase Protocol supporting basic SSH functionality: sending/receiving packets and message dispatch. To connect to or run a server, you must use SSHClientTransport or SSHServerTransport.
Class SSHServerTransport SSHServerTransport implements the server side of the SSH protocol.
Class SSHClientTransport SSHClientTransport implements the client side of the SSH protocol.
Function _mpFromBytes Make an SSH multiple-precision integer from big-endian bytes.
Class _MACParams _MACParams represents the parameters necessary to compute SSH MAC (Message Authenticate Codes).
Function _getSupportedCiphers Build a list of ciphers that are supported by the backend in use.
Class _NullEncryptionContext An encryption context that does not actually encrypt anything.
Class _DummyAlgorithm An encryption algorithm that does not actually encrypt anything.
Class _DummyCipher A cipher for the none encryption method.
def _mpFromBytes(data):

Make an SSH multiple-precision integer from big-endian bytes.

Used in ECDH key exchange.

ParametersdataThe input data, interpreted as a big-endian octet string. (type: bytes)
ReturnsThe given data encoded as an SSH multiple-precision integer. (type: bytes)
def _getSupportedCiphers():

Build a list of ciphers that are supported by the backend in use.

Returnsa list of supported ciphers. (type: list of str)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.