Skip to main content
Boxes accept standard SSH connections. The Box CLI handles the usual setup for you, including the SSH key it uses to connect.

Connect with the CLI

Use box ssh from your local machine for an interactive shell. For non-interactive commands, use the same Box work access through the SDK, API, curl, or CLI:
The CLI manages its SSH key at:
If the key is missing, the CLI creates or refreshes it and authorizes it on the box before connecting.
SSH is available only when the box’s machine is running. If the box 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 box_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 Box for its IP address:

Copy files

Use box scp with the box ID as the remote host, or use file/artifact API calls when you are building an integration:
File read/write paths may be relative (resolved from the box work directory, /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.