External client mode exposes a sandbox as an SSH server for tools that already speak SSH. This is the closest match for normal SSH usage: authorize a public key, serve the sandbox, then connect withDocumentation Index
Fetch the complete documentation index at: https://docs.microsandbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
ssh or sftp.
Authorize a key
<MSB_HOME>/ssh/authorized_keys. Existing keys are deduplicated by public-key material.
TCP listener
127.0.0.1:2222.
Binding to
0.0.0.0 exposes the SSH listener beyond the local machine. Keep the default loopback bind unless you intentionally want remote clients to connect.ProxyCommand
--stdio serves one SSH transport over stdin/stdout. Use it when the SSH client should spawn msb as its transport bridge instead of connecting to a TCP listener.
SDK server endpoints
The Rust SDK exposes the general form: prepare an SSH server endpoint, then pass each ordered duplex stream toserve(stream).