-
Notifications
You must be signed in to change notification settings - Fork 71
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
copy from stdin to pipe failed #13
Comments
Although the documented steps for wsl work flawlessly, for msys2 it gave me the same error you reported. I found a solution by simply adding the
as suggested in this post. I also confirmed that using putty's plink also works (if you don't want to compile npiperelay):
where you can download plink.exe from putty's download page and place it in your PATH. |
I found that my suggestion above, for msys2, doesn't work when using agent forwarding. Yet it works from WSL. The only difference between the two are the |
I was able to successfully forward the Windows SSH agent to msys2 by following this guide with the following changes to
Note: I couldn't find The last time I tried this (back in the beginning of 2023), it didn't work. As per the above guide, it's important to upgrade your windows version of OpenSSH and also use the latest version of the forked npiperelay tool. |
Hi all, I'm trying to follow this article to forward msys2's ssh-agent request to the "native" windows openssh agent using this command:
socat UNIX-LISTEN:/tmp/ssh-agent-pipe EXEC:"npiperelay.exe -ep -v -s //./pipe/openssh-ssh-agent"
and I'm getting this error:
which I don't quite understant. I've done quite a bit of research, but I'm no go developer nor windows expert and I'm stuck with this error and no idea how to fix it. I found uber-go/zap#328 which says something about the error being ignorable, but commenting the
log.Fatalln
call afterio.Copy
doesn't fix the problem.Let me know how I can help, <3
The text was updated successfully, but these errors were encountered: