Skip to main content
Use devbox ssh to open an interactive SSH session or run a command on a Devbox. The command activates the selected Devbox before connecting.

Usage

If you omit the Devbox name, the CLI prompts you to select one. Arguments after the name, or after --, are run as the remote command.

Open an interactive shell

Run a command

Forward the local SSH agent

Options

boolean
default:"false"
Disable pseudo-terminal allocation.
boolean
default:"false"
Force pseudo-terminal allocation when running a command.
boolean
default:"false"
Include Devboxes owned by other workspace members when selecting a Devbox.
boolean
default:"false"
Forward the local SSH agent to the Devbox.

Remote development

Learn about SSH access to Devboxes.

Execute commands

Compare interactive SSH with retained executions.
Last modified on August 28, 2026