Re:Securing my personal SSH infrastructure with Yubikeys
by RL_Quine on Tuesday February 09, 2021 @08:53AM
(#26077414)
Yeah, wow. I'm not sure this post is good advice at all.
Re:Securing my personal SSH infrastructure with Yubikeys
by yencabulator on Wednesday February 10, 2021 @03:30PM
(#26094315)
yubikey-agent uses PIV. It's just all contained in the agent, not requiring loading crusty shared libraries into your SSH client.
Re:Securing my personal SSH infrastructure with Yubikeys
by thomashabets2 on Thursday February 11, 2021 @05:27AM
(#26100049)
Old 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.
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-physic...
Or gpg-agent: 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.ht...
Also: you use agent forwarding with no touch-to-use? Yikes!