Bases: twisted.web.resource.Resource, opennode.oms.endpoint.webterm.root.TerminalServerMixin
Web resource which handles web terminal sessions adhering to ShellInABox.js protocol. NOTE: This is only for backward compatibility.
Bases: twisted.web.resource.Resource
ShellInABox web terminal protocol handler.
For now the only mounted terminal service is the commadnline oms management. We’ll mount here the ssh consoles to machines.
Bases: opennode.oms.endpoint.httprest.base.HttpRestView, opennode.oms.endpoint.webterm.root.TerminalServerMixin
Bases: object
Connect a OmsShellProtocol to a web terminal session.
Bases: object
Connect a ssh client session to a web terminal session. Can be used to connect to hosts or to services and guis exposed via ssh interfaces, tunnels etc
Bases: object
Common code for view-based and twisted-resource based rendering of ShellInABox protocol.
Bases: object
A session for our ajax terminal emulator.
Bases: twisted.conch.insults.insults.ServerProtocol
Used by TerminalProtocols (like OmsShellProtocol) to actually manipulate the terminal.
Bases: object
Used by WebTerminal to actually send the data through the http transport.
Bases: twisted.conch.ssh.userauth.SSHUserAuthClient
Performs ssh connection authentication on behalf of a SSHClientTransport.
Public key authentication is designed to be performed with the OMS service key. The OMS thus takes the responsibility to authorize a given principal and then logs in on his behalf.
Conch expects a deferred which will yield a password to try. Writes a prompt and redirect the terminal input to a password reader which will callback a deferred and thus yield a password to conch.
The terminal input will be automatically handled over to the ssh channel after successful authentication.
Bases: twisted.conch.ssh.transport.SSHClientTransport
Performs a SSH connection to a server.
Bases: twisted.conch.ssh.connection.SSHConnection
Represents a SSH client connection opening a interactive remote shell.