wsl-ssh-pageant ported to Go
Now supports multiple ssh connections concurrently!
A Pageant bridge for WSL, enabling ssh-ageants to talk to to PuTTY Pagent or GnuPG for Windows
-
On the Windows side run Pageant (or compatible agent such as gpg4win).
-
Ensure that the directory containing
wsl-ssh-pageant.exe
is on thePATH
in WSL, for example my path contains `/mnt/c/git/wsl-ssh-pageant' -
In WSL run the following
$ socat UNIX-LISTEN:/tmp/wsl-ssh-pageant.socket,unlink-close,unlink-early,fork EXEC:"wsl-ssh-pageant.exe" &
$ export SSH_AUTH_SOCK=/tmp/wsl-ssh-pageant.socket
- The SSH keys from Pageant should now be usable by
ssh
!
Thanks to
- Ben Pye for his initial work on the C# version of wsl-ssh-pageant
- John Starks for npiperelay