Docs / Production Server Safety

Production Server Safety

Prevent accidental command execution on high-risk production servers by assigning distinct visual themes to active SSH sessions.

Visual Safeguards for High-Risk Production Environments

Accidentally executing destructive terminal commands (such as systemctl stop, rm -rf, or database migrations) on production servers instead of staging or sandbox environments is a critical risk during mobile on-call incidents. With Casshper's Per-Session Themes, engineers can apply distinct visual color themes to active SSH session windows, providing immediate visual context to prevent mistakes.

Per-Session Visual Distinction

By color-coding active terminal tabs based on server risk, engineers instantly recognize high-risk production prompts before typing destructive commands.

Recommended Session Theme Conventions

Environment TypeRecommended Ghostty ThemeVisual Identification Cue
Production (High Risk)Solarized Dark / Red / High-Contrast AlertHigh-visibility red or warm warning background palette.
Staging / Pre-ProdDracula / Nord / Purple AccentMedium-intensity purple or blue cool theme.
Local / SandboxMonokai / Matrix Green / Default ThemeStandard dark palette for safe sandbox execution.

Applying a Safety Theme to an Active Session

  1. Connect to your target SSH host session in Casshper.
  2. Open the sidebar menu and locate your session under the ACTIVE list.
  3. Tap the options menu icon next to the active session tab and select Session Theme (requires Pro Admin).
  4. Choose a distinct warning theme (such as a high-visibility red or amber palette) for your production session.
  5. The selected theme applies instantly to that specific session window, making it visually distinct from all other active terminal tabs!
Pro Tip: Multi-Session Tab Switching

When juggling multiple active SSH connections across staging and production hosts, swiping between tabs or checking the session drawer instantly identifies which prompt is active by its unique color theme!