SSH gives a sandbox a familiar interface without putting an SSH daemon inside the guest. microsandbox speaks SSH on the host side, then forwards shells, remote commands, and SFTP file operations through the sandbox’s command and filesystem channels. Use it when you want existing SSH tools to work with a sandbox, or when you want SDK code to use SSH semantics while still going through microsandbox.Documentation Index
Fetch the complete documentation index at: https://docs.microsandbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
Serve a sandbox to SSH clients
The main workflow is to serve a sandbox locally, then connect with standard OpenSSH tools.msb ssh serve binds to 127.0.0.1:2222 by default and requires keys to be authorized explicitly.
For clients that prefer a transport bridge instead of a TCP listener, serve over stdio:
Open a native session
For quick interactive access, use the built-in microsandbox SSH client. This does not require the hostssh binary, a TCP listener, or an authorized public key.
msb CLI.
Use SSH from the SDK
The SDKs expose the same SSH capability from a running sandbox. You can run SSH-style commands, attach interactively, and open SFTP from code.What to read next
- External Clients covers OpenSSH, SFTP, and
ProxyCommand. - Native Sessions covers
msb ssh,msb ssh connect, and SDK client sessions. - SSH Commands is the CLI reference.