Skip to content

NZSmartie/wsl-ssh-pageant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Demo

How to use

  1. On the Windows side run Pageant (or compatible agent such as gpg4win).

  2. Ensure that the directory containing wsl-ssh-pageant.exe is on the PATH in WSL, for example my path contains `/mnt/c/git/wsl-ssh-pageant'

  3. 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
  1. The SSH keys from Pageant should now be usable by ssh!

Credit

Thanks to

About

A Pageant bridge for WSL, enabling ssh-ageants to talk to to PuTTY Pagent or GnuPG for Windows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages