devbox exec, which returns output and an exit code.
Open a shell

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.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:
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.
Related
- Sessions for a terminal that keeps running after you disconnect.
- Open IDE to open a Devbox in VS Code, Cursor, JetBrains, or Zed.
- Reference:
devbox ssh,devbox configure-ssh.