Skip to Content
DocsCloud OSWeb Terminal

Web Terminal

Cloud OS includes a browser-based terminal that provides direct shell access to your server without requiring SSH.

The web terminal requires the web_terminal license feature. Use caution — commands executed in the terminal run with the Cloud OS process privileges.

Accessing the Terminal

  1. Navigate to Terminal from the sidebar (or click the terminal icon in the header)
  2. A terminal session opens in your browser using xterm.js
  3. You get a full bash shell with standard Linux tools available

Features

FeatureDescription
Full PTYReal terminal with proper line editing, tab completion, and signal handling
ResizeTerminal automatically resizes when you resize the browser window
Copy & PasteStandard clipboard operations work (Ctrl+Shift+C / Ctrl+Shift+V)
Idle TimeoutSessions automatically close after 30 minutes of inactivity

How It Works

The terminal uses a WebSocket connection to a PTY (pseudo-terminal) on the server:

  1. The browser connects via WebSocket to /api/terminal/ws
  2. The server opens a PTY running /bin/bash
  3. Keystrokes are sent from the browser to the PTY via WebSocket
  4. PTY output is streamed back to the browser in real time
  5. Window resize events are sent as control messages

Remote Terminal via Control Panel

When connected to a Control Panel, administrators can access the web terminal remotely through the fleet management interface. The Control Panel proxies the WebSocket connection through the mTLS agent tunnel.

Remote terminal access from the Control Panel requires the remote_terminal license feature (Business+ plan).

Security

  • Terminal sessions require JWT authentication
  • All terminal I/O is transmitted over encrypted WebSocket connections
  • Sessions are logged in the audit trail
  • Idle sessions are terminated after 30 minutes