Using Your U2F YubiKey with Linux

Applicable Products


To set up your Linux system for U2F:

  1. Verify that libu2f-udev is installed on your system.
    • On Debian and its derivatives (Ubuntu, Linux Mint, etc.), check whether libu2f-udev is installed by running dpkg -s libu2f-udev. Install (if not already installed) using sudo apt install libu2f-udev.
  2. If you have a YubiKey NEO or YubiKey NEO-n ensure you have unlocked the U2F mode by following the instructions in the Enabling or Disabling Connection Interfaces article.
  3. Go to https://github.com/Yubico/libu2f-host/blob/master/70-u2f.rules and download or create a copy of the file named 70-u2f.rules into the Linux directory: /etc/udev/rules.d/. If this file is already there, ensure that the content looks like the one provided on github.com/Yubico (link above). 
  4. Save your file, and then reboot your system.
  5. For services accessed via a web browser, ensure that you are running Google Chrome version 38 or later. Starting with Chrome version 39, you will be able to use the YubiKey NEO or YubiKey NEO-n in U2F+HID mode.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.