Module t.c.s.session

Part of twisted.conch.ssh View Source

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

This module is unstable.

Maintainer: Paul Swartz
Line # Kind Name Docs
22 Class SSHSession Undocumented
134 Class _ProtocolWrapper This class wraps a Protocol instance in a ProcessProtocol instance.
147 Class _DummyTransport Undocumented
164 Function wrapProcessProtocol Undocumented
170 Function wrapProtocol Undocumented
173 Class SSHSessionProcessProtocol Undocumented
213 Class SSHSessionClient Undocumented
220 Function parseRequest_pty_req Parse the data from a pty-req request into usable data.
232 Function packRequest_pty_req Pack a pty-req request so that it is suitable for sending.
242 Function parseRequest_window_change Parse the data from a window-change request into usuable data.
250 Function packRequest_window_change Pack a window-change request so that it is suitable for sending.
def wrapProcessProtocol(inst):
Undocumented
def wrapProtocol(proto):
Undocumented
def parseRequest_pty_req(data):
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):

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):
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)):
Pack a window-change request so that it is suitable for sending.