twisted.conch.ssh.session module documentationtwisted.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.
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 |
Parse the data from a pty-req request into usable data.
| Returns | a tuple of (terminal type, (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.
| Parameters | geometry | A tuple of (rows, columns, xpixel, ypixel) (type: tuple) |
Parse the data from a window-change request into usuable data.
| Returns | a tuple of (rows, cols, xpixel, ypixel) | |