YubiKey als SSH-Key mithilfe von GnuPG

Installation der notwendigen Programme (Agent)

brew install gnupg
brew install pinentry pinentry-mac

Konfiguration von GnuPG ~/.gnupg/gpg-agent.conf

pinentry-program /opt/homebrew/bin/pinentry-mac
enable-ssh-support
write-env-file
use-standard-socket
default-cache-ttl 600
max-cache-ttl 7200