ad3ac4a4b13f1b7155cc1fd52ce2b79e662148ee
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ysm — SSH key manager TUI with YubiKey support
go build -o ysm . && ./ysm
Manages the keys in ~/.ssh (override with YSM_SSH_DIR). It needs OpenSSH 8.2+.
For YubiKey detection it uses ykman if installed, otherwise lsusb.
| Key | Action |
|---|---|
↑↓ / jk, enter |
move, show details (fingerprint, randomart, public key) |
n |
new key (ed25519 / rsa-4096 / ecdsa) |
y |
new key on the YubiKey (ed25519-sk / ecdsa-sk, resident, PIN-per-use) |
i |
import resident keys from the YubiKey (ssh-keygen -K) |
a / x |
add to / remove from ssh-agent |
c |
copy public key (wl-copy, xclip, xsel, pbcopy, or OSC 52) |
s |
install the public key on a server (ssh-copy-id) |
p |
change passphrase |
d |
delete key pair (asks first) |
r / q |
refresh / quit |
Passphrases, PINs and touch are handled by ssh-keygen itself. ysm hands it the
terminal, so secrets never pass through the app. The YubiKey is polled every 2s,
so plugging it in or removing it shows up in the header.
Description
TUI for managing SSH keys with YubiKey (FIDO2) support
53 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%