🤔 Don’t have an account yet? Signup!
Logging in
ssh -p 2222 <user>@mbox.blue
Detaching
To detach from your box press ^p^q
(CTRL + p, CTRL + q).
This will detach your terminal from the running box and leave whatever process was running to continue in the background (without a controlling terminal).
Re-attaching
To re-attach to your detached box, run the following:
ssh -p 2222 user@mbox.blue attach
Depending on your SSH client you may see the following error:
the input device is not a TTY
In which case pass the -t
option to SSH when re-attaching:
ssh -t -p 2222 user@mbox.blue attach
💡 Alternatively consider using tmux
in your box.
It is a much more powerful terminal-based window manager!
Killing your box
To shutdown or kill your box (for example to upgrade to the newest version):
- Detach from your existing box:
^p^q
- SSH back in and kill all processes:
kill -9 -1
- Wait 5m for the reaper to remove the box
Other Commands
The following is a list of other special commands that can be used when logging into your box or to help manage its life-cycle:
attach
– Attach to an existing detachex box.destroy
– Destroy an existing detached or no-longer running box (1)
1️⃣ Note that the reaper will automatically cleanup old no-longer running boxes every 5m.
💡 Most commands can be shortended to their first letter. e.g: a
for attach.