moo.shell.server.SSHServer
- class moo.shell.server.SSHServer(interact, *, enable_cpr=True)
Create an SSH server for client access.
- __init__(interact, *, enable_cpr=True)
Methods
__init__(interact, *[, enable_cpr])auth_completed()Authentication was completed successfully
begin_auth(_)Allow user login.
change_password(username, old_password, ...)Handle a request to change a user's password
connection_lost(exc)Called when a connection is lost or closed
connection_made(conn)Called when a connection is made
connection_requested(dest_host, dest_port, ...)Handle a direct TCP/IP connection request
debug_msg_received(msg, lang, always_display)A debug message was received on this connection
get_kbdint_challenge(username, lang, submethods)Return a keyboard-interactive auth challenge
host_based_auth_supported()Return whether or not host-based authentication is supported
kbdint_auth_supported()Return whether or not keyboard-interactive authentication is supported
password_auth_supported()Allow password authentication.
public_key_auth_supported()Allow public key authentication.
server_requested(listen_host, listen_port)Handle a request to listen on a TCP/IP address and port
session_requested()Setup a session and associate the Django User object.
tap_requested(unit)Handle a layer 2 tunnel request
tun_requested(unit)Handle a layer 3 tunnel request
unix_connection_requested(dest_path)Handle a direct UNIX domain socket connection request
unix_server_requested(listen_path)Handle a request to listen on a UNIX domain socket
validate_ca_key(username, key)Return whether key is an authorized CA key for this user
validate_gss_principal(username, ...)Return whether a GSS principal is valid for this user
validate_host_based_user(username, ...)Return whether remote host and user is authorized for this user
validate_host_ca_key(client_host, ...)Return whether key is an authorized CA key for this client host
validate_host_public_key(client_host, ...)Return whether key is an authorized host key for this client host
validate_kbdint_response(username, responses)Return whether the keyboard-interactive response is valid for this user
validate_password(username, password)Validate a password login.
validate_public_key(username, key)Validate a public key login.
Attributes
siteuser