Description
Keychain is a command-line manager for ssh-agent and gpg-agent that gives each user one shared, long-running SSH agent per host, so you type your passphrase once instead of in every terminal. Standard ssh-agent starts a new agent per login session, cron jobs cannot find it, and separate agents know nothing about each other; Keychain lets all terminals, cron jobs, remote sessions and background tasks reconnect to the same agent, and coordinates terminals that start at once. For GnuPG it can pre-load your signing and encryption keys so they are ready to use. Keychain 3 is a Python rewrite of the original Bourne shell tool Daniel Robbins created in 2001. It keeps the single-file deployment, shipping as a self-contained zipapp with no third-party Python dependencies, and adds stable agent sockets, PKCS#11 hardware key support, hardened defaults and over 700 tests.…
Highlights
- One shared ssh-agent per user and host
- Cron jobs and scripts can reuse the agent
- Multi-terminal coordination
- GPG key warm-up
- PKCS#11 hardware key support
- Single-file zipapp, no third-party dependencies
Ratings & Reviews
No ratings yet
Be the first to rate Keychain.
People also visit
SSH Keys Manager Macos App
A native macOS app for managing SSH keys, editing SSH config entries
Keychain FAQ
What problem does Keychain solve?
It stops you from entering your SSH passphrase in every new terminal by sharing one long-running agent per host across terminals, cron jobs and background tasks.
Does it work with GPG?
Yes. It can warm up your GnuPG signing and encryption keys so they are ready when needed.
What changed in Keychain 3?
It was rewritten in Python and adds coordinated multi-terminal activation, stable agent sockets, cron and script integration, PKCS#11 support, hardened defaults and 700+ tests.
What do I need to install it?
Keychain 3 ships as a self-contained executable zipapp with no third-party Python dependencies, so it keeps the single-file deployment model.
Does it support hardware keys?
Yes, through PKCS#11.
What are the best Keychain alternatives?
Popular alternatives to Keychain include SSH Key Wallet, Kerminal and SSH Agent. See all Keychain alternatives
