3 ms·
> Using Yubikeys to store SSH keys requires yubikey-agent No it doesn't. Even before OpenSSH added support for U2F there were multiple ways to use yubikeys to
by thomashabets2 6y ago
> Using Yubikeys to store SSH keys requires yubikey-agent
No it doesn't. Even before OpenSSH added support for U2F there were multiple ways to use yubikeys to store RSA keys.
You can use PIV:
https://blog.habets.se/2016/01/Yubikey-4-for-SSH-with-physical-presence-proof.html https://blog.habets.se/2016/01/Yubikey-4-for-SSH-with-physic...
Or gpg-agent:
https://blog.habets.se/2013/02/GPG-and-SSH-with-Yubikey-NEO.html https://blog.habets.se/2013/02/GPG-and-SSH-with-Yubikey-NEO....
I use the PIV way, and it "just works" on Windows clients too:
https://blog.habets.se/2018/03/Yubikey-for-SSH-on-Windows.html https://blog.habets.se/2018/03/Yubikey-for-SSH-on-Windows.ht...
Also: you use agent forwarding with no touch-to-use? Yikes!
- RL_Quine 6y agoYeah, wow. I'm not sure this post is good advice at all.
- yencabulator 6y agoyubikey-agent uses PIV. It's just all contained in the agent, not requiring loading crusty shared libraries into your SSH client.
- deleted 6y ago[deleted]
- thomashabets2 6y agoOld is not always bad. PKCS#11 is a standard. In fact it's the reason why that method also works on Windows, something the author hasn't looked into yet. But yes, maybe yubikey-agent is nicer to use. I've not tried it myself. But in any case it's not true that you need it.