How to start gpg-agent v2.4.8 on Windows (gpg4win 4.4.1) with OpenSSH emulation?

Werner Koch wk at gnupg.org
Mon Dec 29 11:50:38 CET 2025


Hi!

Regarding OpenSSH support on Windows please checkout 
https://dev.gnupg.org/T3883

I have no first hand experience but the last comment on the ticket might
help you:

In case if someone finds it through a search:

After adding enable-win32-openssh-support to gpg-agent.conf, need to
specify the path to connect gpg-agent just add/check lines in OpenSSH
config file:

IdentityAgent "\\\\.\\pipe\\openssh-ssh-agent"
IdentityFile none

or set env:

set SSH_AUTH_SOCK=\\.\pipe\openssh-ssh-agent

in Git config:

[core]
	sshCommand = "'C:/OpenSSH/SSH.exe' -F C:/OpenSSH/config -v"

MinGit requires the full path to the OpenSSH executable, otherwise 'SSH'
evokes bundled in MinGit, but it can't work with any method to connect
gpg-agent.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20251229/03736248/attachment.sig>


More information about the Gnupg-devel mailing list