Skip to content

Yubikeys SSH

YubiKey hardware-backed SSH authentication methods

  • pgp
  • piv
  • fido2
  • otp

PGP

The YubiKey stores and manages OpenPGP keys within its OpenPGP module. It will work with SSH clients that have integrated with the OpenPGP standard.

PIV

The YubiKey stores and manages RSA and Elliptic Curve (EC) asymmetric keys within its PIV module. It will work with SSH clients that can communicate with smart cards through the PKCS#11 interface.

FIDO2

OpenSSH version 8.2p1 added support for FIDO hardware authenticators. FIDO devices are supported by the public key types “ecdsa-sk” and “ed25519-sk", along with corresponding certificate types.

OTP

Systems administrators can configure two factor authentication for SSH authentication using the YubiKey through the Yubico PAM module.