class twisted.conch.interfaces.ISession(Interface): (source)
Known implementations: twisted.conch.manhole_ssh.TerminalSession, twisted.conch.unix.SSHSessionForUnixConchUser
Undocumented
Method | getPty | Get a pseudo-terminal for use by a shell or command. |
Method | openShell | Open a shell and connect it to proto. |
Method | execCommand | Execute a command. |
Method | windowChanged | Called when the size of the remote screen has changed. |
Method | eofReceived | Called when the other side has indicated no more data will be sent. |
Method | closed | Called when the session is closed. |
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.
Open a shell and connect it to proto.
Parameters | proto | a ProcessProtocol instance. |
Execute a command.
Parameters | proto | a ProcessProtocol instance. |
command | Undocumented |