nix-community / NixOS-WSL

NixOS on WSL(2) [maintainer=@nzbr]
Apache License 2.0
1.89k stars 120 forks source link

[FR] out-of-the-box support for linking Windows ssh binaries #587

Closed tminich closed 22 hours ago

tminich commented 23 hours ago

Problem

Using the windows ssh binaries provided by Microsoft allows you to use the ssh-agent running on the windows side without further setup. As far as I can tell and in my experience so far, they work perfectly fine inside wsl symlinked.

Solution

For now I'm using wsl.extraBin, but I think it would be great if there was a out-of-the-box solution to link them all by just providing the source path.

SuperSandro2000 commented 22 hours ago

This probably opens a new can of worms. The Windows SSH binary is usually a bit out of date, too.