yubikey-agent

SSH agent for YubiKeys and other PIV hardware security tokens

brewmacoslinux
Try with needOr install directly
Source

About

Seamless ssh-agent for YubiKeys and other PIV tokens

Commands

yubikey-agent

Examples

Start yubikey-agent as SSH agent for current session$ yubikey-agent
Export SSH_AUTH_SOCK to use yubikey-agent with SSH$ eval "$(yubikey-agent -s)"
List available keys from connected YubiKey$ ssh-add -L