Expand description
Ephemeral user-space SSH for OxDock scripts.
This crate exposes an SSH host module through the Engine
facade: SSH_SERVE spins up a loopback SSH server with ephemeral
credentials held only in memory, while SSH_DEQUEUE exposes each
session’s metadata before SSH_PUMP_CHANNEL bridges it through
explicit DSL pipes (SSH_ACCEPT combines both for simple loops).
No OS users, no sshd_config, and no Docker are involved; killing
the process removes every trace.
Structs§
- SshServer
Tag - Handle to one ephemeral SSH server instance.
- SshSession
Tag - Handle to one dequeued SSH session instance.
Functions§
- module
- The
SSHhost module with the default process manager. - module_
with - The
SSHhost module: virtual-endpoint server plus client, bridged to DSL pipes. Generic over the process manager like every host module. - module_
with_ endpoints - The
SSHhost module resolving throughregistry:SSH_SERVEandSSH_CONNECTclose over it (hand-built entries; the#[oxdock_func]macro only generates closers-over-nothing). Everything else reaches the same registry through itsSSH_SERVERhandle.