1. Prerequisites

Software you might need to use your Yubikey.

To use your Yubikey with SSH keys and FIDO, you may need to install additional software, including libraries and command line tools to communicate with a FIDO driver over NFC or USB. Below are instructions on how to install these ulitilies for your operating system.

Debian 12

$ sudo apt-get install fido2-tools libfido2-1 libfido2-dev

Fedora 35 and 34

$ sudo dnf install libfido2 libfido2-devel fido2-tools

Ubuntu 22.04 (Jammy) and 20.04 (Focal)

$ sudo apt install libfido2-1 libfido2-dev libfido2-doc fido2-tools

Ubuntu 18.04 (Bionic) - via Yubico PPA.

$ sudo apt install software-properties-common
$ sudo apt-add-repository ppa:yubico/stable
$ sudo apt update
$ sudo apt install libfido2-1 libfido2-dev libfido2-doc fido2-tools

MacOS

brew install libfido2

For more information about installing libfido2 libraries and tools, see https://developers.yubico.com/libfido2/

Last updated