4 ms·
I never quite understand why there’s not a confirm version. ForwardWithConfirmation or something. I’m active when I need forwarding - would be happy to simply b
by aidos 8y ago
I never quite understand why there’s not a confirm version. ForwardWithConfirmation or something. I’m active when I need forwarding - would be happy to simply be prompted before it’s allowed.
- Leace 8y agoIf you use Yubikey with touch-to-use enabled that'll be basically what you're asking - each authentication will require touching the token.
- haasted 8y agoI just enabled that after seeing this incident. For people in the same boat, it can be done trivially using the YubiKey Manager CLI: https://developers.yubico.com/yubikey-manager/ https://developers.yubico.com/yubikey-manager/
- rwmj 8y agoSome ssh agent implementations do this, notably the one built into Android ConnectBot can be configured to request confirmation each time it is asked to authenticate. Unfortunately ssh-agent (from OpenSSH) does not as far as I know. It's happy to authenticate as many times as requested without any notification.
- DblPlusUngood 8y agoOpenSSH does have confirmation: use the '-c' switch to ssh-add. https://man.openbsd.org/ssh-add https://man.openbsd.org/ssh-add
- felipelemos 8y agoThis could be a sane default.
- aidos 8y agoWaaaaaaat?! That could definitely be better known.
- e12e 8y agoHm, anything similar for gpg agent (both for gpg, and as a stand-in for ssh-agent)? Ed: looks like I need to edit my sshcontrol-file https://www.gnupg.org/documentation/manuals/gnupg/Agent-Configuration.html https://www.gnupg.org/documentation/manuals/gnupg/Agent-Conf...
- aquabeagle 8y agoOr "AddKeysToAgent confirm" in ~/.ssh/config