Lurker News
The agent running on a remote machine can authenticate using your local SSH credentials.

That means it can push to your private repos on GitHub, for example.
Proof: https://github.com/openai/codex/pull/28131#discussion_r3410013180

Comments (80) 38 threads

Show all comments

Showing thread 3 of 38

Lukas_Skywalker4 replies#
The Bitwarden desktop app has a built in SSH agent [1], which lets you store SSH keys inside Bitwarden. I have set the app to always ask me for confirmation when the key is requested.

[1] https://bitwarden.com/help/ssh-agent/

InsidiousWombat4 replies#
you can make your SSH agent do that, no need to use bitwarden.

If you're using say yubikey for hardware ssh key (via gpg ssh agent/smartcard interface) you can also make it require physical touch of the key to confirm every operation

tylergetsay#
If your machine has a TPM chip you can also use that and require a PIN to unlock it, with a mandatory lock out period enforced by the chip
rolosa2 replies#
How do I do it with touchid and a MacBook Air?
MSP_Logic#
Secretive should do this. It generates a key inside the secure enclave, and you can set it to require TouchID, so you know whenever it's used. Keys can't be exported either.
hgoel#
Plus, if you're using the Yubikey for hardware SSH, you can't use the Bitwarden SSH agent anyway. It just isn't compatible. It's one of my bigger frustrations with its SSH agent feature, as I prefer to have my GitHub SSH key on Bitwarden.
alsdkgjhgd#
the biggest issue with the yubikey touch verification is that you have no way of telling what you're verifying, especially if some tool helpfully forwarded your agent, or is trying to maintain ssh connections in the background

first time you see the light blinking without doing anything intentional is a bit of a sinking feeling

petesergeant#
1Password too, FWIW
WhyNotHugo#
Himitsu's ssh-agent does the same, and if you use some agent that uses a secret-service backend, you'd get the same result.

It's mostly the default ssh-agent that has a different security model.

wolttam#
As well as KeepassXC