Black Friday: 40% off for life · BLACKFRIDAY40Claim →
crabsmith Get started
Browse documentation
← All documentation

Terminal

On this page

Open an interactive terminal on any server directly in your browser—logged in as crab (with passwordless sudo, so sudo -i opens a root shell if you need one).

Open a terminal

Browser terminal connected to the server as the crab user

  1. Open your server's Terminal tab and click Start shell.
  2. Use it like any terminal: colors, copy/paste, and full-screen tools like htop or vim all work, and the terminal resizes with your browser window.
  3. To move keyboard focus out of the terminal, press Esc then Tab. On a phone, an on-screen bar gives quick access to Esc, Tab, Ctrl, and arrow keys.

To run a quick one-off command (like php artisan or npm) in a site's folder, use the site's Commands tab. For a full interactive session in a site's folder, open the server's Terminal tab and run cd /home/crab/<original-domain>.

Good to know

  • Closing or refreshing the browser tab ends the shell session. For processes that should stay running, use a daemon or schedule.
  • Idle terminals close automatically after 30 minutes.
  • You can have up to 4 terminals open at the same time.
  • Type exit or press Ctrl+D to close a session; click Start shell to open a new one.

When it won't connect

If you see "The server could not be reached", check the SSH error shown (such as Connection refused or Host key changed) and see Troubleshooting. A server must finish initial setup before you can open a terminal on it.