module documentation
(source)

This module contains the implementation of SSHSession, which (by default) allows access to a shell and a python interpreter over SSH.

Maintainer: Paul Swartz

Variable log Undocumented
Class SSHSession A generalized implementation of an SSH session.
Function wrapProcessProtocol Undocumented
Function wrapProtocol Undocumented
Variable SUPPORTED_SIGNALS Undocumented
Class SSHSessionProcessProtocol I am both an IProcessProtocol and an ITransport.
Class SSHSessionClient Undocumented
Function parseRequest_pty_req Parse the data from a pty-req request into usable data.
Function packRequest_pty_req Pack a pty-req request so that it is suitable for sending.
Function parseRequest_window_change Parse the data from a window-change request into usuable data.
Function packRequest_window_change Pack a window-change request so that it is suitable for sending.
Class _ProtocolWrapper This class wraps a Protocol instance in a ProcessProtocol instance.
Class _DummyTransport Undocumented

Undocumented

def wrapProcessProtocol(inst): (source)

Undocumented

def wrapProtocol(proto): (source)

Undocumented

SUPPORTED_SIGNALS = (source)

Undocumented

(type: list[str])
def parseRequest_pty_req(data): (source)

Parse the data from a pty-req request into usable data.

Returnsa tuple of (terminal type, (rows, cols, xpixel, ypixel), modes)
def packRequest_pty_req(term, geometry, modes): (source)

Pack a pty-req request so that it is suitable for sending.

NOTE: modes must be packed before being sent here.

ParameterstermUndocumented
geometryA tuple of (rows, columns, xpixel, ypixel) (type: tuple)
modesUndocumented
def parseRequest_window_change(data): (source)

Parse the data from a window-change request into usuable data.

Returnsa tuple of (rows, cols, xpixel, ypixel)
def packRequest_window_change(geometry): (source)

Pack a window-change request so that it is suitable for sending.

ParametersgeometryA tuple of (rows, columns, xpixel, ypixel) (type: tuple)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.