How to use FIDO2 USB keys with SSH
stavros.io
How to use FIDO2 USB keys with SSH
1–10 of 99 posts
Re: How to use FIDO2 USB keys with SSH
#2Gitlab? No. Github? No. My gateway with a hand built gentoo kernel? Yes.
It seems functional, but you've also got to be aware that `ed25519-sk` and `ecdsa-sk` have sort of spotty support in the devices too. `ed25519-sk` does not work on a Yubikey <5, for example.
Re: How to use FIDO2 USB keys with SSH
#3Be aware literally nothing supports this unless it's your own kernel. Gitlab? No. Github? No. My gateway with a hand built gentoo kernel? Yes. It seems functional, but you've also got to be aware that `ed25519-sk` and `ecdsa-sk` have sort of spotty support in the devices too. `ed25519-sk` does not work on a Yubikey <5, for example.
Ubuntu 20.04 and later supports this, and, since that's LTS, it means that quite a few servers and machines will be supporting it already.
Github/Gitlab aren't supporting it yet, but given how great it is for security, I think they have a big incentive to speed up support.
> ed25519-ek does not work on a Yubikey That's no problem, since you can just generate an ECDSA key instead, but yes, not all keys have hardware support for all algorithms.
Re: How to use FIDO2 USB keys with SSH
#4That would require an extra press of the token's button for each extra authentication, right?
Re: How to use FIDO2 USB keys with SSH
#5Re: How to use FIDO2 USB keys with SSH
#6Be aware literally nothing supports this unless it's your own kernel. Gitlab? No. Github? No. My gateway with a hand built gentoo kernel? Yes. It seems functional, but you've also got to be aware that `ed25519-sk` and `ecdsa-sk` have sort of spotty support in the devices too. `ed25519-sk` does not work on a Yubikey <5, for example.
Re: How to use FIDO2 USB keys with SSH
#7> be extra careful when using SSH forwarding (the -A option), as the server can then ask your computer to authenticate to other servers on your behalf. That would require an extra press of the token's button for each extra authentication, right?
Re: How to use FIDO2 USB keys with SSH
#8I've waited 10 years for this.
Re: How to use FIDO2 USB keys with SSH
#9Edit: They fixed it.