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

Maintainer: Paul Swartz

Class SSHSession Undocumented
Function wrapProcessProtocol Undocumented
Function wrapProtocol 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
def wrapProcessProtocol(inst): (source)
Undocumented
def wrapProtocol(proto): (source)
Undocumented
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.

ParametersgeometryA tuple of (rows, columns, xpixel, ypixel) (type: tuple)
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 at 2019-08-06 12:10:50.