Public: anyone can read this; the crew can change it.
The terminal lists your SSH keys, adds one and removes one with a confirm, as MCP `ssh_keys` does #7242
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: the owner who gets a new laptop and is in the terminal already. Trust means your own keys are visible and revocable from every door.
listKeys,addSshKeyanddeleteSshKeyare reached from /settings and MCPssh_keys(src/http/mcp/tools/ssh_keys.ts). No terminal screen calls them.Done:
src/tui/screens/sshkeys.ts, opened from the account palette insrc/tui/forge.tsas "SSH keys" for a signed-in person. It lists your keys: title, fingerprint, added and last used; never another account's.aasks for a title, then an authorized_keys line, and adds it throughaddSshKey; a bad line or a duplicate says the same words MCPssh_keyssays (keyWords), and nothing is added.dremoves the selected key after a confirm throughdeleteSshKey; the key the current terminal session signed in with says so in the confirm.test/tui-sshkeys.test.ts: list two keys, add one, refuse a malformed one, remove one after a confirm; another person's keys never appear.Files:
src/tui/screens/sshkeys.ts,src/tui/forge.ts, one test. Risk: low; reuse the actions, write no new rules.