Yubico ssh

From philcrump.co.uk
Jump to: navigation, search
sudo apt install gpg pinentry-curses scdaemon pcscd

$ vim .gnupg/gpg-agent.conf 
pinentry-program /usr/bin/pinentry-curses
enable-ssh-support

$ vim .bashrc
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null