Connect to your sandbox
1
Set up SSH
Run these commands on your host. The examples use In another host terminal, run
~/.ssh/id_ed25519; use your own key path if different. If you need a key, create one with ssh-keygen -t ed25519.- Cloud
- Local
Add your public key to the sandbox’s SSH keys page in the dashboard, or use an existing organization SSH key. Copy the sandbox’s SSH command, for example:Add this entry to
~/.ssh/config, replacing crimson-summit-7fa1 with your sandbox’s slug:ssh devbox.msb. On first connection, verify the host key and type yes to trust it. Once connected, run exit.2
Open VS Code
- Open the Command Palette and select Remote-SSH: Connect to Host….
- Select devbox.msb, then Linux if prompted.
- Wait for setup to finish, then use File > Open Folder… to open your project inside the sandbox.
Troubleshooting
SSH will not connect
SSH will not connect
Check View > Output > Remote - SSH for the error. Confirm that the private key in
IdentityFile matches an authorized public key. For cloud, check the sandbox slug and dashboard SSH keys. For local, keep msb ssh serve running and check that its port matches your SSH configuration.Leave Remote.SSH: Remote Server Listen On Socket disabled; use TCP forwarding.Host key changed or forwarding disabled
Host key changed or forwarding disabled
For local sandboxes, serving a different sandbox on the same port can cause Verify and accept the new key, then reconnect in VS Code. This command applies to the local configuration above. Investigate unexpected key changes; do not disable host-key checking.
MitmPortForwardingDisabled. After verifying that the key change is expected, remove the old entry on your host:VS Code Server or extensions fail
VS Code Server or extensions fail
Check Remote - SSH and Log (Remote Extension Host) in the Output panel. Verify the image’s libraries and architecture, available memory, disk space, and download access.If the terminal works but extensions fail, disable remote extensions and re-enable them one at a time. Install missing guest libraries or a compatible extension build; increase memory if logs show an out-of-memory kill.