-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The preview version of WSL in the Microsoft Store does not work with wsl2-ssh-pageant #7521
Comments
I would have reported this issue to wsl2-ssh-pageant, but WSL is the only thing that has changed. |
@DavidZidar - I would suggest also posting the issue there, might be more actionable from that side. |
@benhillis Alright, I posted an issue there too. |
Thanks @DavidZidar! I'll keep on eye on that issue, in theory things shouldn't be any different but we'll see! |
@benhillis I've found the underlying issue. The WSL installed through the Microsoft Store does not allow to run windows executables from within the linux filesystem anymore. See:
Moving it into the windows filesystem and trying the same again works without a hassle. Edit: Just to double check that it's not related to any internals of go or the program itself. I've copied the
Note the disturbed newline and spaces, that's in the output not a wrong copy from my side. |
Another thing I noticed is that in the context of wsl2-ssh-pageant it launches a new windows terminal showing the launch of it and closing after it's done (The executable is a short lived tasked one). It did not do that on the non store version. Totally makes sense to show this window as the executable was not compiled with |
Just to confirm, the issue on my system was the same, that the Windows-binary was in the Linux filesystem. |
Thanks guys, that's very helpful. I'm debugging this now. |
I've sorted out the issue and have a fix in testing. |
Awesome, that's quick work! Thanks @benhillis and @tobiaskohlbau! |
Version
10.0.22000.194
WSL Version
Kernel Version
5.10.60.1
Distro Version
Debian 11
Other Software
wsl2-ssh-pageant v1.3.0
Repro Steps
Expected Behavior
It should still be working, just like before.
Actual Behavior
I am not authorized by the SSH key in my Yubikey, SSH is asking me for my password.
If I uninstall the Microsoft Store WSL it all starts working again.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: