Yubikey SSH
Use Yubikey’s GnuPG to connect to SSH
Add the following to .bashrc
export GPG_TTY="$(tty)"
echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2>&1
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
Add the following to .bashrc
export GPG_TTY="$(tty)"
echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2>&1
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)