# Use Gpg4win with Windows OpenSSH ## Metadata **Status**:: #x **Zettel**:: #zettel/fleeting **Created**:: [[2026-02-04]] ## Synopsis Gpg4win supports Windows OpenSSH unlike [[§ SSH Authentication Using a YubiKey on Windows And the OpenSSH Client|GnuPG]], so wsl-ssh-pageant is not longer needed. Note that Gpg4win uses `$env:APPDATA\gnupg` instead of `~/.gnupg`. The OpenSSH support is an opt-in feature. Create `$env:APPDATA\gnupg\gnupg-agent.conf` with following content: ``` default-cache-ttl 3600 max-cache-ttl 14400 enable-win32-openssh-support ``` The putty support is not required. Ensure environment variable `SSH_AUTH_SOCK` is not set.