I'm using a yubikey 4 as a smartcard to log on remote SSH with PUTTY,
under Windows.
Recent version of gpg4win/gpg-agent are compatible with putty and can
talk to putty. I tried but the problem is, when I use gpg-agent, it
does not ask for a PIN (no PIN entry window) and then it fails in
putty.
This guy seems to have the same kind of problem :
http://lists.wald.intevation.org/pipermail/gpg4win-users-en/2015-October/001263.html
I'm using Windows 7 64 bits with GnuPG 2.0.29 and Gpg4win 2.3.0. Using putty 0.67.
I ran scdaemon and gpg-agent with logging in "guru" mode, and I can
post the results here if it helps.
In the log, the card is read correctly, putty query is detected by
gpg-agent, only the PIN entry is not asked/triggered...