1
Create a machine and set up Rex on it
cloud-dev, then Integrations, and select Rex. Select
Create SSH token, then Set up Rex, which installs Rex and its server on the machine.2
Trust the host key
Rex cannot ask whether to trust a new host key, so connect once from a terminal.
3
Add the host
In Rex, open Settings, select Remote Hosts, then Add Remote Host…. Paste the SSH URI
from the dialog as the URL, in the form
ssh://ibssh_…@ssh.instabox.sh:2222. Enter
cloud-dev as the Name, because Rex otherwise names the host after the URI’s login, which
is the token. Then select Add.4
Open a session
In Rex’s window, click the session name at the top left, or press ⌘K. Select the
new-session button at the right of the
cloud-dev row. Rex opens a shell on the machine, in its
home directory.The dashboard makes a background SSH token for Rex: leaving Rex open does not keep the machine
awake, and connecting does not wake a paused machine. Resume it from the dashboard or with
instabox resume cloud-dev first. See
what wakes a machine.Check Rex on the machine
Check Rex on the machine
active, select Set up again in the dialog.SSH
Tokens, expiry, and revoking access.
Auto-pause and max-run
What counts as idle and what wakes a machine.