I recently got a pair of Yubikeys, and I’ve been spending most of today trying to set them up to work with SSH. I finally managed to get them working from my Linux machine, but I’d also like to have them work on Windows via Windows Terminal (not command prompt or PuTTY). Obviously, this would mean editing my .ssh/config file on Windows to tell it to use gpg-agent as the IdentityAgent for all the hosts I’d like to use the key for, but I can’t seem to get it to work the same way it would on Linux.
So far, I’ve tried this:
Host foobar User baguette HostName 192.168.0.13 IdentityAgent gpg-agent
Host foobar User baguette HostName 192.168.0.13 IdentityAgent "(C:Pathtogpg-agent.exe)"