Skip to main content
celesto sandbox ssh opens an interactive SSH session to a sandbox. Use it when you need SSH-specific behavior, such as SSH agent forwarding, a custom key, or a user account other than root.

Synopsis

Arguments

string
required
Name or ID of the sandbox to connect to.

Options

string
Path to the SSH private key.
string
default:"root"
SSH user inside the sandbox.
number
default:"30"
Seconds to wait if Celesto needs to start the sandbox before connecting.

Examples

Connect to a sandbox

Use a custom key

Connect as another user

Shell versus SSH

Use celesto sandbox shell for the fastest interactive shell on recent Linux images. It uses the Celesto guest agent when available. Use celesto sandbox ssh when you specifically need SSH.
Last modified on June 24, 2026