gitwrap icon indicating copy to clipboard operation
gitwrap copied to clipboard

Support WSL-Pageant or Pageant forwarding.

Open ruifung opened this issue 5 years ago • 3 comments

As git is heavily reliant on SSH keys, it would be nice if gitwrap would be able to support WSL-Pageant (https://github.com/vuori/weasel-pageant), or equivalent function to supporting pageant.

WSL-Pageant works by inserting a snippet in .bashrc to start the ssh-ageant forwarder, however this doesn't appear to work with gitwrap leaving it of limited utility to me as my ssh keys are stored and managed with a pageant compatible agent (keepass w/ keeageant).

So it would be nice if this supported pageant forwarding from the WSL side.

ruifung avatar Sep 02 '18 23:09 ruifung

Thanks for suggesting this @ruifung. I need to look into WSL-Pageant and see if I can figure out a way to integrate with it.

ardevd avatar Sep 03 '18 06:09 ardevd

that, or you could create an af_unix socket from the windows side and pass it as ssh auth sock?

i believe wsl supports some form of unix sockets now right? In addition WSLENV can be used to pass the ssh_auth_sock variable.

ruifung avatar Sep 05 '18 10:09 ruifung

Useful info! I will see what I can figure out. Cheers!

ardevd avatar Sep 05 '18 11:09 ardevd