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

  1. Discover your hosts
    lissh discover run
    Scans known_hosts and ~/.ssh/config to find your SSH servers.
  2. Label your hosts
    lissh discover review
    Step through each host and assign friendly aliases.
  3. Connect quickly
    lissh hosts list then lissh 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