copy from stdin to pipe failed
Hi all, I'm trying to follow [this article](https://medium.com/@pscheit/use-an-ssh-agent-in-wsl-with-your-ssh-setup-in-windows-10-41756755993e) to forward msys2's ssh-agent request to the "native" windows openssh agent using this command:
```sh
socat UNIX-LISTEN:/tmp/ssh-agent-pipe EXEC:"npiperelay.exe -ep -v -s //./pipe/openssh-ssh-agent"
```
and I'm getting this error:
```
2020/06/03 15:36:00 connecting to //./pipe/openssh-ssh-agent
2020/06/03 15:36:00 connected
2020/06/03 15:36:00 copy from stdin to pipe failed: read /dev/stdin: invalid argument.
```
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 https://github.com/uber-go/zap/issues/328 which says something about the error being ignorable, but commenting the `log.Fatalln` call after `io.Copy` doesn't fix the problem.
Let me know how I can help, <3
3 条评论