Connect over SSH
Open a shell in your box from your own terminal or coding tool, after adding your public key on Access.
SSH lets the terminal on your computer, or a coding tool that works on a remote machine, open a shell in your box. You get commands, a shell, file copies with scp or sftp, and port forwards to programs running inside the box.
SSH works once your account has paid for box, with a plan or a top-up.
1. Make a key
Skip this if you already have a key in ~/.ssh (a file ending in .pub).
On macOS, Linux, or Windows (PowerShell), run:
ssh-keygen -t ed25519Press Enter to keep the default file, and set a passphrase if you want one. This makes two files:
~/.ssh/id_ed25519: your private key. It stays on your computer. Never paste it anywhere.~/.ssh/id_ed25519.pub: your public key. This is the one you add to box.
Print the public key so you can copy it:
cat ~/.ssh/id_ed25519.pubIt is one line that starts with ssh-ed25519. Ed25519, ECDSA, security keys and RSA (2,048 bits or more) all work.
2. Add it on Access
- Open Access → SSH keys and choose Add key.
- Paste the whole
.publine. The name is optional; left empty, it takes the comment at the end of the line. - Choose which boxes the key reaches: All boxes (including boxes you make later) or Only these.
You can add up to 20 keys, change a key's boxes later, or remove it. A key belongs to one box account.
3. Connect
The user name is your box's name, as shown in the app (its id works too):
ssh main@ssh.box.simular.aiThis opens a shell in the box named main. The page shows this line for your first box, with a Copy button. If the box is asleep, connecting wakes it.
Run one command instead of a shell:
ssh main@ssh.box.simular.ai 'ls ~'Copy a file:
scp ./notes.md main@ssh.box.simular.ai:~/notes.mdFor whole folders, Copy files with rsync sends only what changed.
Stay connected
A connection with no traffic for 5 minutes closes. To keep it open, add this to ~/.ssh/config on your computer:
Host ssh.box.simular.ai
ServerAliveInterval 60What it can't do
- Port forwards work one way, from your computer to a program on the box's own
localhost(ssh -L 3000:localhost:3000 main@ssh.box.simular.ai). Reverse forwards (-R), SOCKS proxies (-D) and agent forwarding (-A) are refused. - Changing a key's boxes or removing it ends open sessions within a minute.
If it doesn't work
Anything else: Troubleshooting.