amika sandbox code opens a remote sandbox in your editor over SSH. Today it
supports Cursor.
Prerequisites
- A remote sandbox in the
active/running/startedstate. The command does not work on local sandboxes. See Create a sandbox. - The Cursor CLI (
cursor) on yourPATH. Install it from Cursor > Settings > Extensions > cursor-cli. - The Remote - SSH extension installed in Cursor.
Open the sandbox
Cmd+Shift+E in Cursor to
open it.
What it does
Under the hood,amika sandbox code:
- Fetches fresh SSH connection details for the sandbox.
- Writes a stable host alias,
amika-<sandbox-id>, into the Amika-managed SSH config at~/.ssh/amika.conf(included from your~/.ssh/config). The alias is keyed on the sandbox id, so it stays valid even as the underlying connection token rotates. - Launches
cursor --remote ssh-remote+amika-<sandbox-id> <repo-path>.
Troubleshooting
cursor CLI is not installed or not in PATH— install the Cursor CLI from Cursor > Settings > Extensions > cursor-cli.unsupported editor— onlycursoris supported today. Omit--editoror pass--editor cursor.- Cursor opens but cannot connect — make sure the Remote - SSH extension is installed in Cursor.