How to Use a Yubikey with OpenSSH

Опубликовано: 25 Февраль 2026
на канале: SecureRandom
14,446
286

In this video we set up SSH to use a FIDO / FIDO2 USB authenticator – namely a Yubikey 4.

Support the channel:
BTC - 3NzWDDH3n5PsBKqWJyAb7rvsGvJKxcAPFv

Follow me:
SecureRandom on YouTube -
   / @securerandom5420  
ETH - 0xB09212235c648a448F0E7eEB416ce5652362c772

SecureRandom on LBRY / Odysee -
https://odysee.com/@SecureRandom:1

--------------------------------------------------------------------------------

NSA Backdoor:
https://www.wired.com/2013/09/nsa-bac...

--------------------------------------------------------------------------------

Commands used in this video:

Create a key pair
$ ssh-keygen t ecdask -f /path/to/keypair

Copy the ssh key to the server
$ ssh-copy-id -i /path/to/public-key user@server

Check firmware version of Yubikey
$ lsusb -v | grep -A2 Yubico | grep "bcdDevice" | awk '{print $2}'