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

Werner Koch via Gnupg-devel <[email protected]> Mon, 29 Dec 2025 11:50:38 +0100
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
openpgp-digital-signature.asc (application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaVJc/xsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQetDbAP9H
p3rOf7edy35eqkAHUghSiqrEIHXonY2KR+Txk8GHtQD/e8TqCzDGuvy8uyXgS2eD
xxbIB26sGoWHM1M+ZSWhgwc=
=Pvz6
-----END PGP SIGNATURE-----