This Tutorial will help you to use YubiKey with SSH & GPG on Windows.
Download and install PuTTY.
GPG4Win has built-in support for SSH authentication.
Download and install GPG4Win.
gpg-connect-agent.exe by running the following command in a PowerShell terminal or Command Prompt:
Enable SSH support by editing the
gpg-agent.conf file located in the
%APPDATA%\gnupg\ on Windows, where the typical path is
Add the following lines to it:
enable-putty-support enable-ssh-support use-standard-socket default-cache-ttl 600 max-cache-ttl 7200
To apply this change, restart the
gpg-agent by running the following command in a PowerShell terminal or Command Prompt:
gpg-connect-agent killagent /bye gpg-connect-agent /bye