SSH Terminal
A full xterm.js terminal with multi-host tabs, an encrypted key vault, snippet library, known-hosts manager, AI command generation, and a built-in PHP Tinker REPL.
Module layout
The SSH module has five sub-tabs:
| Tab | Purpose |
|---|---|
| Hosts | Grid & list view of saved hosts with search, filter, and color labels. |
| Snippets | Reusable command snippets with {{var}} placeholders, tags, and host targeting. |
| Known Hosts | SSH known-hosts manager: view, edit, delete entries. |
| Logs | Connection log viewer with per-host filtering and timestamps. |
| Tinker | Local restricted REPL — see PHP Tinker REPL. |
Add a host
Hosts have: label, hostname, port, username, auth (password OR private key), and a color. Private keys are picked from ~/.ssh/ via the native picker and stored encrypted in the vault. Passwords never touch disk in plain text.
Terminal
Each connection opens in its own tab and uses a real xterm.js terminal:
- 10 themes: Vortex, Default Light, Dracula, Nord, Monokai, Solarized Dark, One Dark, Material, Gruvbox, Tokyo Night.
- Configurable font size (10–20 px), cursor style (block / bar / underline), scrollback (1k–50k lines).
- Shared font setting with the code editor in Settings.
- Window-resize aware, with input buffering during reconnects.
SFTP bridge
Every SSH host doubles as an SFTP host. Click Files in the connection toolbar to open an SFTP browser using the same auth — see SFTP Bridge.
AI integration
- Natural language → shell command ("find files larger than 500 MB modified this week").
- Right-click any captured output → Explain.
- The SSH Agent can chain commands across multiple hosts.
Multi-host workflows
Open as many tabs as you need. Snippets can target a list of hosts so a single click runs git pull && php artisan migrate --force on web1, web2, and web3 simultaneously.
Export & import
Export hosts as an encrypted .mpvault (MPVAULT2 format, AES-256-GCM) for migration or sharing. Re-import with the same vault key.
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| Cmd+T | New terminal tab |
| Cmd+W | Close active tab |