Connect with the CLI
Useboat ssh from your local machine for an interactive shell. For non-interactive commands, use the same sandbox work access through the SDK, API, curl, or CLI:
SSH is available only when the sandbox’s machine is running. If the sandbox is archived or still provisioning, resume it or wait until it is ready. In the first seconds of a resume, SSH may answer with a retryable
sandbox_restoring error; retry a moment later.Use another SSH client
If you want to connect from an external SSH client, first authorize a public key and inspect the sandbox for its IP address:Verify the host key
Every resume and every fork runs the sandbox on a new machine. Each new machine has a new SSH host key. With strict host key checking, the key you saved before a stop is refused after the resume.boat ssh and boat scp handle this for you. They fetch the current host key through your authenticated Boat session, pin it, and connect with strict checking.
For another SSH client, get the key the same way. The SSH key call returns hostKey, the public host key of the machine that runs the sandbox now. Save it under a fixed alias, and fetch it again after each resume:
Copy files
Useboat scp with the sandbox ID as the remote host, or use file/artifact API calls when you are building an integration:
/home/user) or absolute; an absolute path must resolve under /home/user or /tmp, anything else is refused with a 400 invalid_path error naming the allowed roots.
See CLI Reference for all scp options.