Add README with usage and key bindings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8266ca4000
commit
ad3ac4a4b1
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user