Comment 0 for bug 1982672

Revision history for this message
Jacob V. Rasmussen (blackthornedk) wrote :

I installed Windows 10, WSL 2 and Ubuntu 22.04.
In windows I have Keepass with the plugin Keeagent, and loaded my SSH Key through keeagent.
In WSL I install tmux and socat, and run the following command:

```
/usr/bin/socat UNIX-LISTEN:/tmp/wsl-auth.sock,unlink-close,unlink-early,fork EXEC:"/mnt/c/Users/jvr/bin/npiperelay.exe //./pipe/openssh-ssh-agent",nofork
```

Npiperelay is downloaded from here:
https://github.com/jstarks/npiperelay

This works on both Ubuntu 18.04 and 20.04, but in 22.04 I get these messages:

```
write failed 32: Broken pipe
```

I do not know where this pipe is not working, but since it is working in both other Ubuntu versions and in AlmaLinux 8, I suspect it is a change in 22.04 and not in WSL.

OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19043 N/A Build 19043
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: LENOVO N1EET95W (1.68 ), 26-05-2022
WSL: 2

Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy