benpye / wsl-ssh-pageant

A Pageant -> TCP bridge for use with WSL, allowing for Pageant to be used as an ssh-ageant within the WSL environment.
BSD 2-Clause "Simplified" License
612 stars 40 forks source link

add '--tcp' flag for listening on af_inet socket. #55

Closed Spongman closed 1 year ago

Spongman commented 2 years ago

reduces the need for npiperelay to get wsl2 to work.

benpye commented 1 year ago

A previous version did have something like this, but was changed as having the SSH agent be accessible via TCP seemed undesirable - it would be easy to accidentally make it available over the network...

I think a better solution here would be to add an stdio option - and then socat on the WSL side could communicate directly with wsl-ssh-pageant rather than npiperelay, if you wanted to go that route.