yay -S yubikey-manager
Generates a public key and a private key stub on the machine.
YubiKey internally takes the stub and returns a private key.
yay -S libfido2
ssh-keygen -t ed25519-sk
generates id_ed25519_sk
and id_ed25519_sk.pub
you can copy id_ed25519_sk.pub
to remote machines like normal
Anyone with the key can use your private key.
ssh-keygen -t ed25519-sk -O resident -O verify-required
ykman fido access change-pin # need a pin
ssh-keygen -K
https://www.complete.org/easily-using-ssh-with-fido2-u2f-hardware-security-keys/