Skip to content

About

A modern, open-source & self-hosted SSH client and server manager. Local-first, zero-knowledge encryption, and seamless multi-device sync.

Resources

Contributing

Stars

108 stars

Watchers

1 watching

Forks

Repository files navigation

Termimus Logo

Termimus

The Local-First, Zero-Knowledge SSH Client & Server Management Suite
A modern, self-hosted Termius alternative for Linux, macOS, and Windows · v0.10.0

Version v0.10.0 Support on Ko-fi License: MIT Docker Image Platforms AES-256-GCM Argon2id Terminal Obsidian

Termimus Hosts Overview


⚡ What is Termimus?

Termimus is an open-source, desktop SSH manager and terminal suite designed for engineers, sysadmins, and DevOps teams who refuse to store production credentials in third-party proprietary clouds.

Unlike SaaS alternatives that force cloud account registration, Termimus is Local-First: your database runs 100% offline via embedded SQLite, and your private keys and passwords never leave your machine unencrypted. When you need multi-device synchronization, Termimus connects to your own Self-Hosted Go Sync Relay using end-to-end zero-knowledge encryption — the server is a blind relay that cannot decrypt your data.


📥 Download

Prebuilt installers for every release are published automatically to the GitHub Releases page — no build tools required.

Platform Installer Notes
🐧 Linux .deb / .AppImage Debian/Ubuntu package or portable AppImage (any distro)
🍎 macOS .dmg Universal binary — runs natively on both Intel and Apple Silicon
🪟 Windows .msi / .exe MSI installer or NSIS setup executable

Prefer to build from source, or want to contribute? See Getting Started below.


✨ Features at a Glance

🖥️ Native Terminal Experience

  • Async Rust SSH Engine: Multi-tab terminal powered by russh and @xterm/xterm 6.
  • Split Panes & Dynamic Layouts: Split terminals in any direction with resizable dividers, tab drag-and-drop, and auto-grouping tabs (Web Server (2)).
  • Terminal Interconnection & Input Broadcast: One-click synchronized input across all split panes (SYNC toggle / Alt+B) to broadcast keystrokes and run commands simultaneously across multiple servers.
  • Session Geometry Protection: Background tabs stay mounted without collapsing to 0×0 geometry, preventing remote htop, vim, and curses TUIs from corrupting due to bogus SIGWINCH events.
  • Two-Factor Authentication (2FA): Keyboard-interactive prompts (e.g. PAM password + OTP / Google Authenticator) are supported after key or password auth, for terminal, SFTP, and tunnel connections.
  • Quick Connect: Instant fuzzy-search launcher accessible anywhere with Ctrl+K.

🗂️ Workspaces & Multi-Server Cluster Launcher

  • Multi-Server Layout Presets: Design and save complex multi-terminal split layouts (Side by Side, Top & Bottom, 1 Left + 2 Right, 2 Top + 1 Bottom, Triple Column, 2×2 Grid) with assigned hosts for each pane.
  • 1-Click Cluster Launcher: Atomic multi-session launcher connects to all target machines simultaneously and arranges them into their pre-configured split panes with zero layout jitter.
  • Interactive Blueprint Designer: Visual layout designer to preview blueprints, assign hosts to panes, and toggle input broadcast on launch.
  • Save Active Split as Preset: Snapshot your current live split layout and open SSH sessions into a reusable workspace preset with a single click.

📂 Dual-Pane SFTP & In-App Code Editor

  • Seamless Transfers: Dual-pane local ↔ remote browser with fast click-to-transfer navigation.
  • Dynamic Source Pane & Cloud-to-Cloud Transfers: Switch the source pane from your local machine to any saved host and transfer files directly between two remote servers.
  • Direct Remote Editor: View and edit configuration files directly over SFTP with syntax highlighting and keyboard shortcut saving (Ctrl+S).

🔑 Keychain & Identity Management

  • Private Key Vault & Import: Securely store and organize SSH private keys (OpenSSH, PEM, PuTTY). Import directly from local key files or paste PEM text.
  • SSH Agent Authentication: Authenticate with a key held by your local SSH agent (Bitwarden, 1Password, KeePassXC, or the system OpenSSH agent) — no private key is imported into Termimus.
  • Instant Public Key Derivation: Automatically derive OpenSSH public key lines (ssh-ed25519, ssh-rsa, ecdsa) and SHA256 fingerprints from imported private keys to paste into remote authorized_keys.
  • Private Key Reveal & Copy: Securely inspect or copy decrypted private keys on demand when the vault is unlocked, protected with privacy blur.
  • Password Identities: Store reusable username & password combinations to assign across multiple hosts without re-typing.

🌐 Port Forwarding & SSH Tunnels

  • Multi-Type Tunnels: Support for Local (-L), Remote (-R), and Dynamic SOCKS5 (-D) port forwarding, with tunnels auto-stopping and reporting when the SSH connection drops.
  • Live Status Toggles: Monitor and manage forwarding rules with real-time active indicators.

📜 Snippets & Scripts

  • Instant Script Runner: Store frequently used shell scripts, deployment commands, and system diagnostics.
  • Active Tab Injection: Send snippets straight into your running terminal session with a single click.

🤖 AI Terminal Copilot (Bring Your Own Key)

  • Bring Your Own Provider: Connect any OpenAI-compatible API, Anthropic, or a local Ollama model (auto-lists installed models). Manage multiple providers and switch the active one from Settings → AI Copilot.
  • Natural Language → Shell Command: Describe what you want in the Copilot side panel (Alt+I / ⌘I) and get a ready-to-run command with an explanation, tailored to the session's real OS, shell, and package manager (auto-detected over a hidden exec channel, so nothing appears in your terminal).
  • Inline # Prompts: Type # find log files larger than 100MB at the shell prompt and press Alt+I. The line is replaced with the generated command. It is only typed, never executed: you review it and press Enter.
  • Explain Errors: Send recent terminal output to the Copilot to get a plain-language explanation of what went wrong and how to fix it.
  • Risk-Aware Execution: Every command gets a risk level. A local classifier can only raise the model's self-reported risk, never lower it. Destructive commands, and changes on hosts marked as production, require explicit confirmation. AI commands are never sent to a broadcast group.
  • Privacy First: Private keys, tokens, passwords, and Authorization headers are redacted from terminal output before it leaves your machine. API keys are encrypted in the vault (AES-256-GCM) like every other credential, and provider configs are included in encrypted backups.

🌐 Multi-Language Support (i18n)

  • Complete Localization: Full UI internationalization covering all features, toolbars, tables, modals, and settings.
  • Available Languages: English (en), Bahasa Indonesia (id), and Chinese (Simplified, zh), with English set as default.
  • Instant 1-Click Switching: Switch languages in real-time from Settings → General without restarting the application or terminating active SSH sessions.
  • Persistent Preferences: Language preference is securely preserved across app launches.

🔒 Enterprise-Grade Local Security

  • Zero-Knowledge Vault: All passwords and keys are encrypted at rest with AES-256-GCM using keys derived via Argon2id.
  • OS Keyring Integration: Optional silent auto-unlock on launch using your desktop's secure credential store (KWallet / GNOME Secret Service on Linux, macOS Keychain, or Windows Credential Manager).
  • Configurable Auto-Lock: Automatically lock the vault and zero out memory after 15m/1h of inactivity or on window focus loss.
  • TOFU Host-Key Verification: Trust-On-First-Use host key fingerprinting with hard rejection on key mismatch across SSH, SFTP, and tunnels to shield against Man-in-the-Middle (MITM) attacks.

☁️ Self-Hosted Multi-Device Sync

  • Zero-Knowledge Relay: Self-host our ultra-lightweight Go sync server (server/) with Docker.
  • Real-Time WebSocket Sync: Connected devices receive instant push notifications when changes occur on another machine.
  • Safe Merging: Sync merges incoming updates without overwriting locally trusted server fingerprints.

🏛️ Architecture

┌─────────────────────────────────┐               ┌─────────────────────────────────┐
│     Termimus (Work Laptop)      │               │      Termimus (Home Desktop)    │
│  - Tauri v2 + Rust + React 19   │               │  - Tauri v2 + Rust + React 19   │
│  - Local SQLite (termimus.db)   │               │  - Local SQLite (termimus.db)   │
│  - AES-256-GCM Encryption Key   │               │  - AES-256-GCM Encryption Key   │
└────────────────┬────────────────┘               └────────────────▲────────────────┘
                 │                                                 │
                 │   Push E2EE Ciphertext Bundle                   │   Pull & Auto-Merge
                 │   (Server cannot read payload)                  │   (WebSocket Event)
                 ▼                                                 │
      ┌─────────────────────────────────────────────────────────────────┐
      │             Termimus Sync Server (Go / Docker)                  │
      │         ghcr.io/termimus/termimus-sync:latest                   │
      │                                                                 │
      │  - Pure Go SQLite (modernc.org/sqlite, zero CGO)                │
      │  - Blind Relay Storage (< 20MB RAM)                             │
      │  - Real-time WebSocket Event Hub (`SYNC_UPDATED`)               │
      └─────────────────────────────────────────────────────────────────┘

Component Versions

Component Version Package
Desktop Client (Tauri + Rust + React) v0.10.0 Releases
Self-Hosted Sync Server (Go) v0.10.0 ghcr.io/termimus/termimus-sync

🚀 Getting Started

1. Running Desktop App (Development)

Prerequisites

  • Rust (via rustup)
  • Bun (or Node.js 20+)
  • Linux system libraries:
    sudo apt install -y pkg-config build-essential \
      libwebkit2gtk-4.1-dev libssl-dev \
      libayatana-appindicator3-dev librsvg2-dev

Start Desktop App

# Clone the repository
git clone https://github.com/termimus/termimus-ssh.git
cd termimus-ssh

# Install frontend dependencies
bun install

# Run in Tauri dev mode
bun run tauri dev

Build Release Package (Debian, AppImage, or Binary)

bun run tauri build

Compiled bundles will be located in src-tauri/target/release/bundle/.


2. Running Self-Hosted Sync Server

The sync server is packaged as a lightweight, multi-architecture Docker container (linux/amd64 and linux/arm64).

Option A: Docker (Single Command)

docker run -d \
  --name termimus-sync \
  -p 8080:8080 \
  -v termimus_data:/data \
  -e TERMIMUS_AUTH_TOKEN="$(openssl rand -hex 32)" \
  --restart unless-stopped \
  ghcr.io/termimus/termimus-sync:latest

Option B: Docker Compose

Create docker-compose.yml:

services:
  termimus-sync:
    image: ghcr.io/termimus/termimus-sync:latest
    container_name: termimus-sync
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - ./data:/data
    environment:
      - PORT=8080
      - DB_PATH=/data/sync.db
      - TERMIMUS_AUTH_TOKEN=${TERMIMUS_AUTH_TOKEN:?Set TERMIMUS_AUTH_TOKEN}

Run with:

echo "TERMIMUS_AUTH_TOKEN=$(openssl rand -hex 32)" > .env
docker compose up -d

The server refuses to start without TERMIMUS_AUTH_TOKEN.

Option C: Run from Source (Go)

cd server
export TERMIMUS_AUTH_TOKEN="your-secure-random-token"
export PORT="8080"
go run ./cmd/server

🔐 Security & Cryptography Model

Termimus enforces defense-in-depth principles:

Domain Mechanism Implementation Detail
Key Derivation Argon2id 16-byte random salt, high-memory cost derivation for master password.
Data Encryption AES-256-GCM Authenticated symmetric cipher with unique 12-byte nonces generated per item via OS RNG (OsRng).
Host Key Integrity TOFU / SHA-256 Strict fingerprint validation on every connection; mismatches abort immediately to prevent MITM attacks.
Memory Hygiene Zeroization Derived keys stored in memory are zeroized on vault lock using zeroize.
OS Keyring System Keyring Derived key is securely delegated to KWallet, GNOME Secret Service, macOS Keychain, or Windows Credential Manager.
Blind Sync E2EE Envelope Server accepts only version 2 encrypted bundles; zero plaintext leakage.
AI Copilot Privacy Redaction + Vault Private keys, tokens, and passwords are stripped from terminal context before it reaches the AI provider; provider API keys are stored as AES-256-GCM vault credentials.

📁 Repository Structure

termimus/
├── src/                          # React 19 Frontend
│   ├── components/
│   │   ├── layout/               # Header, Sidebar, QuickConnect, ConfirmModal
│   │   ├── hosts/                # Host management, folder tree, latency badges
│   │   ├── terminal/             # Xterm.js terminal view & session tabs
│   │   ├── workspaces/           # Multi-server layout presets & cluster launcher
│   │   ├── sftp/                 # Dual-pane browser & remote code editor
│   │   ├── keychain/             # KeyModal, IdentityModal, public key derivation
│   │   ├── tunnels/              # Port forwarding manager
│   │   ├── snippets/             # Scripts library
│   │   ├── sync/                 # Self-hosted cloud sync manager
│   │   ├── vault/                # Backup & restore components
│   │   └── settings/             # Tabbed settings suite (full-width)
│   ├── i18n/                     # Modular type-safe dictionaries (en, id, zh)
│   ├── stores/                   # Zustand domain stores
│   └── lib/                      # Tauri typed invoke wrappers
│
├── src-tauri/                    # Rust Backend (Tauri v2)
│   └── src/
│       ├── ssh/                  # Russh async client & TOFU verification
│       ├── sftp/                 # Russh-sftp engine & local filesystem
│       ├── tunnel/               # Channel direct TCP/IP forwarder
│       ├── vault/                # AES-256-GCM & Argon2id encryption manager
│       ├── sshkey/               # ED25519/RSA/ECDSA key generation & derivation
│       ├── db/                   # SQLite schema, queries & backup engine
│       └── commands/             # Tauri IPC command handlers
│
├── server/                       # Self-Hosted Sync Server (Go)
│   ├── cmd/server/               # Server entrypoint
│   ├── internal/                 # DB (pure Go SQLite), Hub (WebSockets), Handlers
│   ├── Dockerfile                # Multi-stage minimal container
│   ├── docker-compose.yml        # Production-ready compose configuration
│   └── README.md                 # Server documentation
│
└── .github/workflows/            # GitHub Actions CI/CD (Multi-arch GHCR build)

🌍 Localization & Adding Translations

Termimus supports multi-language localization using react-i18next with modular, compile-time type-checked dictionaries.

Want to contribute a new language (e.g. Japanese ja, Spanish es, German de)? Follow these 3 steps:

  1. Copy the English dictionary module: Duplicate src/i18n/locales/en/ to src/i18n/locales/<locale>/ (e.g., src/i18n/locales/ja/) and translate the strings in each domain file (common.ts, navigation.ts, hosts.ts, etc.).

  2. Create the locale index file: Create src/i18n/locales/<locale>.ts and bind the schema:

    import type { TranslationSchema } from "./en";
    import { commonJa } from "./ja/common";
    // ...import other domain files
    
    export const ja: TranslationSchema = {
      common: commonJa,
      // ...
    };

    💡 TypeScript will automatically check that all translation keys match the source schema during bun run build.

  3. Register the language in src/i18n/index.ts: Import your locale and add its configuration to SUPPORTED_LANGUAGES:

    export const SUPPORTED_LANGUAGES = [
      { code: "en", label: "English", nativeName: "English" },
      { code: "id", label: "Indonesian", nativeName: "Bahasa Indonesia" },
      { code: "ja", label: "Japanese", nativeName: "日本語" },
    ] as const;

    The language selection dropdown in Settings → General will update automatically!


💖 Support the Project

If you find Termimus useful and want to support its ongoing development (server infrastructure, domain, and new features), consider buying a coffee! Every contribution helps keep the project independent, local-first, and completely free.

Buy Me a Coffee at ko-fi.com


🤝 Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feat/amazing-feature)
  3. Commit your Changes (git commit -m 'feat: add amazing feature')
  4. Push to the Branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ for privacy-minded sysadmins and developers.

About

A modern, open-source & self-hosted SSH client and server manager. Local-first, zero-knowledge encryption, and seamless multi-device sync.

Resources

Contributing

Stars

108 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages