moo.shell.server

AsyncSSH server entrypoint.

See Inside the Shell Client for the reasoning behind line_editor=False, the keepalive settings, and the signal handlers.

Functions

interact(ssh_session)

Initial entry point for SSH sessions.

server([port])

Create an AsyncSSH server on the requested port.

Classes

MooPromptToolkitSSHSession(*args, **kwargs)

SSH session that selects a shell mode from the client's TERM and speaks the IAC subnegotiation channel on top of SSH for MUD clients.

SSHServer(interact, *[, enable_cpr])

Create an SSH server for client access.