Install
|
Homebrew (macOS)
Cargo (crate name: purple-ssh)
From source
&&
Update
Downloads the latest release from GitHub, verifies the checksum and replaces the binary in place. macOS only (installed via curl). Homebrew users should run brew upgrade erickochen/purple/purple instead. Cargo users should run cargo install purple-ssh. The TUI also checks for updates on startup and shows a notification in the title bar when a new version is available.
Launch, search and connect
🚀 Instant search. Filter on alias, hostname, user, tags or provider as you type
🏷️ Tags. Label hosts with #tags, filter with the tag picker or tag: search
📊 Connection history. Frecency sorting surfaces your most-used and most-recent hosts
📡 Ping. TCP connectivity check per host or all at once
📥 Bulk import. From a hosts file or ~/.ssh/known_hosts
🔑 SSH key management. Browse keys with metadata and linked hosts
🔀 Tunnels. Add, edit and manage LocalForward, RemoteForward and DynamicForward per host. Start and stop background tunnels from the TUI.
📋 Clipboard. Copy the SSH command or full config block
Cloud provider sync
Pull your servers from DigitalOcean, Vultr, Linode, Hetzner, UpCloud and Proxmox VE directly into ~/.ssh/config. Sync adds new hosts, updates changed IPs and merges tags. Tags you add manually are preserved across syncs. Use --reset-tags to replace local tags with provider tags. Preview with --dry-run.
Synced hosts are tagged by provider and appear alongside your manual hosts. The provider list is sorted by last sync time (most recent first) and shows sync results per provider (server count and time ago or error details).
Your config, respected
🔄 Round-trip fidelity. Comments, indentation and unknown directives are preserved through every read-write cycle. Consecutive blank lines are collapsed to keep your config clean.
📂 Include support. Hosts from Include files are displayed but never modified
🔒 Atomic writes. Temp file, chmod 600, rename. No half-written configs.
💾 Automatic backups. Every write to an existing config creates a timestamped backup. Keeps the last 5.
♻️ Auto-reload. Detects external config changes and reloads automatically
🎨 Monochrome UI. Works in any terminal, any font. One splash of color (the purple badge). Respects NO_COLOR.
🐚 Shell completions. Bash, zsh and fish.
Get started
That's it. purple reads your ~/.ssh/config and shows your hosts. Navigate with j/k, search with /, connect with Enter. Press ? for the full cheat sheet.
Usage
Host List
| Key | Action |
|---|---|
j / k |
Navigate down and up |
Enter |
Connect to selected host |
a |
Add new host |
e |
Edit selected host |
d |
Delete selected host |
c |
Clone host |
y |
Copy SSH command |
x |
Export config block to clipboard |
/ |
Search and filter |
# |
Filter by tag |
t |
Tag host |
s |
Cycle sort mode |
g |
Group by provider |
i |
Inspect host details |
u |
Undo last delete |
p |
Ping selected host |
P |
Ping all hosts |
S |
Cloud provider sync |
T |
Manage host tunnels |
K |
SSH key list |
? |
Help |
q / Esc |
Quit |
Tunnel List
| Key | Action |
|---|---|
j / k |
Navigate down and up |
Enter |
Start / stop tunnel |
a |
Add tunnel |
e |
Edit tunnel |
d |
Delete tunnel |
q / Esc |
Back |
Provider List
| Key | Action |
|---|---|
j / k |
Navigate down and up |
Enter |
Configure provider |
s |
Sync selected provider |
d |
Remove provider |
q / Esc |
Back (cancels syncs) |
Search
| Key | Action |
|---|---|
| Type | Filter hosts |
Enter |
Connect to selected |
Esc |
Cancel search |
Tab / Shift+Tab |
Next / previous result |
Form
| Key | Action |
|---|---|
Tab / Shift+Tab |
Next / previous field |
Ctrl+K |
Pick SSH key |
Enter |
Save |
Esc |
Cancel |
What makes purple different?
It edits your real SSH config. Most SSH config tools only read. purple reads, edits and writes ~/.ssh/config directly.
It doesn't break anything. Comments, indentation, unknown directives. All preserved through every edit. Tested with 973 tests including round-trip integration.
It syncs your cloud servers. purple is the only SSH config manager we know of that pulls hosts from DigitalOcean, Vultr, Linode, Hetzner, UpCloud and Proxmox VE directly into your config. Configure once, sync anytime.
It imports what you already have. Bulk import from host files or ~/.ssh/known_hosts. No manual re-entry.
It's a single Rust binary. No runtime, no daemon, no async framework. Install and run.
FAQ
Does purple modify my existing SSH config? Only when you add, edit, delete or sync. Auto-sync runs on startup for providers that have it enabled (toggle per provider, on by default). All writes are atomic with automatic backups.
Will purple break my comments or formatting? No. purple preserves comments, indentation and unknown directives through every read-write cycle. Consecutive blank lines are collapsed to one.
Does purple need a daemon or background process? No. It's a single binary. Run it, use it, close it.
Does purple send my SSH config anywhere? No. Your config never leaves your machine. Provider sync calls cloud APIs to fetch server lists. The TUI checks GitHub for new releases on startup (cached for 24 hours). No config data is transmitted in either case.
Why is the crate called purple-ssh?
The name purple was taken on crates.io. The binary is still called purple.
Built with
Rust. 973 tests. Zero clippy warnings. No async runtime. Single binary.