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, (rows, cols, xpixel, ypixel), modes): (source)

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

NOTE: modes must be packed before being sent here.

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((rows, cols, xpixel, ypixel)): (source)

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

API Documentation for Twisted, generated by pydoctor at 2016-04-11 10:39:53.