ykpamcfg

A Pluggable Authentication Module for yubikeys

Install

All systems
curl cmd.cat/ykpamcfg.sh
Debian Debian
apt-get install libpam-yubico
Ubuntu
apt-get install libpam-yubico
Arch Arch Linux
pacman -S yubico-pam
image/svg+xml Kali Linux
apt-get install libpam-yubico
Fedora
dnf install pam_yubico
Windows (WSL2)
sudo apt-get update sudo apt-get install libpam-yubico
OS X
brew install pam_yubico
Raspbian
apt-get install libpam-yubico

pam_yubico

A Pluggable Authentication Module for yubikeys

libpam-yubico

two-factor password and YubiKey OTP PAM module

This package provides the Yubico PAM module. It enables the use of two-factor authentication, with existing logins and passwords plus a YubiKey One-Time Password that is validated against an online validation service. The default is the free YubiCloud, but it is easy to set up a custom service. A second mode of operation is available using the YubiKey's HMAC-SHA-1 Challenge-Response functionality. This allows for offline validation using a YubiKey, for example on a laptop computer. However, this only works for local logins, not for instance SSH logins.

yubico-pam

Yubico YubiKey PAM module