Why not just use the regular SSH agent with a password? Still encrypted on disk, so I don't see what the difference is.
Yeah I'm really curious why using a key passphrase is not an option for the author. Seems like it has everything they're looking for:
- Good ergonomics
- No private key sitting unencrypted on disk
Hell, isn't it even the default when using `ssh-keygen`? As in, it prompts you for a passphrase if you don't explicitly tell it not to?
Typing a reasonably strong SSH key passphrase many times a day is deeply annoying, and the alternative to that is running ssh-add once a session and then anything else running as your user being able to use it with impunity.
Agents like Bitwarden and 1Password are more granular in their authorisation, in 1Password’s case I tap the fingerprint reader on my laptop when a process in a specific terminal first requests SSH key access to authorise that, after which it can use it as much as it likes until the session times out. Doing so however doesn’t mean that some other process spawned by some malware can also use it, that’s going to pop a prompt up again.
I think the answer is more plainly and reasonably given in the article TFA cites as inspiration, "I deleted all my SSH keys":
> First – Isn’t using a passphrase enough? Probably. I don’t intend to imply that this post is the only way that anyone should be doing SSH keys. [...] So yes, the ’traditional’ method is probably fine for most threat models.
https://blog.infected.systems/posts/2026-11-03-i-deleted-all...
Just to clarify your point for others; SSH private key files can already be encrypted with a passphrase. SSH will then prompt for the passphrase whenever the key is used. The standard SSH agent can optionally keep keys unlocked for a time period.
There's no need to reveal your unencrypted keys to Bitwarden or any other cloud service.
If your threat model includes rogue LLM agents on your system then your passphrase can be compromised by a logger or just getting it from memory
I use yubikey Fido keys so I need to touch the key to unlock it
It’s quite wild to be working and see my yubikey flash waiting for input because I have an agent running a task and it’s trying things like GitHub auth without asking me. Not hard to imagine it taking the next step and just grabbing tokens it needs to do whatever it needs to complete its task