I've been trying to get a yubikey to work as an authentication method for remote connections via ssh using this guide. I got the gpg2 set up nicely, and I can see that i've loaded the key onto the card by
gpg2 --card-status
I've exported it using
gpg2 --export-ssh-key > [keyname].txt
and can see the resulting key nicely. I've got my gpg-agent.conf set up as follows :
#config pinentry-program
pinentry-program /usr/bin/pinentry
#ssh support
enable-ssh-support
#write env inf to .gpg-agent-info
write-env-file
use-standard-socket
#default cache timeout
default-cache-ttl 600
max-cache-ttl 7200
and have modified my .bashrc as given in the guide. Any ideas where I might look for a solution?