Remix.run Logo
▲ abound 4 hours ago

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?

▲handplane 4 hours ago | parent [-]

There's real ergonomic gain here if you ever forward your ssh agent to another machine. With default SSH, you need to use the clunky askpass setup to be able to approve each access of your keys from the remote machine, but with Bitwarden, you can easily attach it to TouchID or similar.

▲eqvinox 3 hours ago | parent [-]

ssh-add -c + ssh-askpass might be clunky, but - hitting TouchID is notably worse security wise since you'll get into a pattern of hitting it relatively often, making it much easier to smuggle an illegitimate request into that, no? It diminishes the value of TouchID.

▲handplane an hour ago | parent [-]

Absolutely, but what's the better option? If you're forwarding to a remote and that remote isn't fully trusted with your key, you need a manual approval step of some sort whether that's askpass, Bitwarden, or a yubikey.

▲eqvinox an hour ago | parent [-]

> Absolutely, but what's the better option? If you're forwarding to a remote and that remote isn't fully trusted with your key

Honestly: don't use agent forwarding at all, use ProxyJump / -J. Agent forwarding is really only for systems you do in fact fully trust.