Skip to main content

Crate oxdock_ssh_plugin

Crate oxdock_ssh_plugin 

Source
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§

SshServerTag
Handle to one ephemeral SSH server instance.
SshSessionTag
Handle to one dequeued SSH session instance.

Functions§

module
The SSH host module with the default process manager.
module_with
The SSH host module: virtual-endpoint server plus client, bridged to DSL pipes. Generic over the process manager like every host module.
module_with_endpoints
The SSH host module resolving through registry: SSH_SERVE and SSH_CONNECT close over it (hand-built entries; the #[oxdock_func] macro only generates closers-over-nothing). Everything else reaches the same registry through its SSH_SERVER handle.

Type Aliases§

DefaultProcessManager