Yubikey SSH
Quick guide for creating and using FIDO2 resident keys for ssh authentication. Verified working on YubiKey 5 Series keys. Prerequisites Make sure the ssh-agent is running: eval "$(ssh-agent -s)" Generate a new ssh key on a YubiKey ssh-keygen -t ed25519-sk -O resident -C "[email protected]" Temporarily add key to a computer This adds the key to the ssh agent and it will continue working until the computer is rebooted, after which it must be readded. ...