Your SSH keys, in one encrypted vault. Never on disk.
A small command-line SSH key and connection manager. Profiles and private keys live in a single password-encrypted file; connect hands the key to OpenSSH through a private, read-only agent. No daemon, no cloud, no telemetry.
Everything you need to manage SSH access, and nothing that phones home.
Key derived with Argon2id (t=3, 64 MiB, p=4). Versioned, fully authenticated header — tampering is detected.
connect loads the key into a per-session, read-only agent used only by your ssh child. Forwarding is always off.
Locked, atomic, fsynced saves with an automatic encrypted backup and one-command restore.
ed25519 by default, RSA 3072/4096 on request. Import existing keys — passphrase-protected ones included.
Install a public key on password-only servers, or rotate keys with --via using the old one.
Tags, favorites, notes, search, --json output with no secrets, explicit exit codes, shell completion.
Requires Go 1.26+ to build and the OpenSSH client (ssh) in your PATH.
git clone https://github.com/sshman-org/sshman.git cd sshman go build -trimpath -o sshman .
Or grab a prebuilt binary from releases and verify it:
sha256sum -c SHA256SUMS --ignore-missing gh attestation verify sshman_v*_linux_amd64 --repo sshman-org/sshman
Four commands from zero to logged in.
sshman init # create the vault (password ≥ 12 chars) sshman genkey --name web --user deploy --host web.example.com sshman sendkey --name web # ssh asks for the account password once sshman connect --name web # log in with the vault key
Every command accepts --vault PATH.
| command | purpose |
|---|---|
init | Create an empty vault |
add | Add an entry with an existing key (--key FILE|-) |
genkey | Generate a key pair into a new entry |
list / search | Browse by tag, favorite, key age; --json |
show / pubkey | Details, fingerprint, public key — never the private key |
copy | Copy ssh user@host -p port to the clipboard |
update / rename / delete | Edit entries |
connect | SSH session (or remote command) with the vault key |
sendkey | Append the public key to remote authorized_keys (--via for rotation) |
passwd / restore | Change password, recover from the automatic backup |
doctor | Check location, permissions, format and ssh — no password needed |
completion | bash / zsh completion script |
Clear about what it protects — and what it can't.
SSH_AUTH_SOCK agent stays untouchedTested in CI on all three.
| Linux | macOS | Windows | |
|---|---|---|---|
| vault, genkey, sendkey | ✓ | ✓ | ✓ |
| connect via agent | ✓ unix socket | ✓ unix socket | ✓ named pipe |
| permission checks | mode / owner / symlink | mode / owner / symlink | owner + ACL |