twisted.conch.manhole_ssh.TerminalSession(components.Adapter)
class documentationtwisted.conch.manhole_ssh
View Source
(View In Hierarchy)
Implements interfaces: twisted.conch.interfaces.ISession
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 | closed | Called when the session is closed. |
Inherited from Adapter:
Class Variable | temporaryAdapter | If this is True, the adapter will not be persisted on the Componentized. |
Class Variable | multiComponent | If this adapter is persistent, should it be automatically registered for all appropriate interfaces. |
Method | __init__ | Set my 'original' attribute to be the object I am adapting. |
Method | __conform__ | I forward __conform__ to self.original if it has it, otherwise I simply return None. |
Method | isuper | Forward isuper to self.original |
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. |