Skip to main content
SSH gives you an interactive shell. For scripts and automation, use devbox exec, which returns output and an exit code.
With the Devbox skill, ask your agent in plain language, for example: “set up SSH config for my devbox”

Open a shell

On Windows, the shell is PowerShell. Connecting to a stopped Devbox starts it first. The CLI tunnels the connection through Namespace over HTTPS, so the Devbox needs no public IP address or open port. The shell ends when you exit or your connection drops, along with anything running in the foreground. For work that should keep running, use a session. To open a shell from a browser with nothing to install, select the Terminal tab on the Devbox in the Dashboard.
The Terminal tab of a Devbox in the Namespace dashboard, showing a shell prompt in the workspace directory

Use your local SSH keys

Forward your SSH agent to use your own keys on the Devbox, for example to push to a Git remote.
See devbox ssh for every option.

Connect SSH tools

devbox configure-ssh adds the Devbox to your local SSH configuration and prints the hostname to use:
Use that hostname with ssh or with an IDE that connects over SSH.

SSH or a session

Use SSH to look around, run a quick command, or connect a tool that needs SSH. Use a session for anything you want to come back to, such as a dev server, a long build, or a coding agent.
Last modified on December 2, 2026