class documentation
class SSHSessionForUnixConchUser: (source)
Constructor: SSHSessionForUnixConchUser(avatar, reactor)
Implements interfaces: twisted.conch.interfaces.ISession
Undocumented
| Method | __init__ |
Construct an SSHSessionForUnixConchUser. |
| Method | add |
Undocumented |
| Method | closed |
Called when the session is closed. |
| Method | eof |
Called when the other side has indicated no more data will be sent. |
| Method | exec |
Execute a command. |
| Method | get |
Get a pseudo-terminal for use by a shell or command. |
| Method | get |
Undocumented |
| Method | open |
Open a shell and connect it to proto. |
| Method | set |
Undocumented |
| Method | window |
Called when the size of the remote screen has changed. |
| Instance Variable | avatar |
Undocumented |
| Instance Variable | environ |
Undocumented |
| Instance Variable | modes |
Undocumented |
| Instance Variable | old |
Undocumented |
| Instance Variable | pty |
Undocumented |
| Instance Variable | pty |
Undocumented |
| Instance Variable | win |
Undocumented |
| Method | _write |
Hack to send ignore messages when we aren't echoing. |
| Class Variable | _log |
Undocumented |
| Instance Variable | _reactor |
Undocumented |
Construct an SSHSessionForUnixConchUser.
| Parameters | |
| avatar | The UnixConchUser for whom this is an SSH session. |
| reactor | An IReactorProcess used to handle shell and exec requests. Uses the default reactor if None. |
Get a pseudo-terminal for use by a shell or command.
If a pseudo-terminal is not available, or the request otherwise fails, raise an exception.