lissh.
Keep your SSH hosts organized and on a leash. Quickly list and search hosts, assign friendly aliases, track your connection history, manage SSH keys, and tweak SSH settings.
Go
SQLite
MIT License
go install github.com/wcrg/lissh@latest
Features
Host Discovery
Automatically discover hosts from known_hosts and ~/.ssh/config
Host Labeling
Assign friendly aliases and notes to your servers
Connection History
Track when you connected and how long sessions lasted
SSH Key Management
Create, list, and associate keys with hosts
SSH Config Helpers
Apply recommended settings with backups and diffs
Remote Actions
Execute predefined commands on multiple hosts
Installation
go install github.com/wcrg/lissh@latest
Or build from source:
git clone https://github.com/wcrg/lissh.git
cd lissh
go build -o lissh
Quickstart
- Discover your hosts
lissh discover run
Scans known_hosts and ~/.ssh/config to find your SSH servers. - Label your hosts
lissh discover review
Step through each host and assign friendly aliases. - Connect quickly
lissh hosts listthenlissh hosts connect 1
Use IDs or aliases to jump into SSH sessions.
Commands
lissh hosts
Manage your SSH hosts - list, search, edit, connect
lissh discover
Discover and label hosts from known_hosts and SSH config
lissh keys
Manage SSH keys - create, list, associate with hosts
lissh history
View connection history and statistics
lissh config
SSH config helpers - generate, apply, backup
lissh actions
Execute predefined commands on remote hosts
Global Flags
--db-path |
Path to lissh database (default: ~/.lissh/lissh.db) |
--check-update |
Check for updates |
-i, --id |
Connect to host by ID |
Database
lissh stores all data in a SQLite database at ~/.lissh/lissh.db. You can specify a custom path with --db-path.
Schema
- hosts - Host inventory with aliases, notes, and source
- ssh_keys - SSH key metadata
- history - Connection sessions with timestamps and duration
- actions - Predefined commands with variable substitution
- schema_migrations - Migration tracking