twisted.conch.unix.SSHSessionForUnixConchUser class documentationtwisted.conch.unix
(View In Hierarchy)
Implements interfaces: twisted.conch.interfaces.ISession
| Method | __init__ | Construct an SSHSessionForUnixConchUser. | 
| Method | addUTMPEntry | 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 | getPtyOwnership | Undocumented | 
| Method | setModes | Undocumented | 
| Method | eofReceived | Called when the other side has indicated no more data will be sent. | 
| Method | closed | Called when the session is closed. | 
| Method | windowChanged | Called when the size of the remote screen has changed. | 
| Method | _writeHack | Hack to send ignore messages when we aren't echoing. | 
Construct an SSHSessionForUnixConchUser.
| Parameters | avatar | The UnixConchUserfor whom this is an SSH session. | 
| reactor | An IReactorProcessused 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.
Open a shell and connect it to proto.
| Parameters | proto | a ProcessProtocolinstance. |