While I can't pinpoint anything specific, you can find out more about where exactly things go sideways by enabling debugging in Net::OpenSSH:
$Net::OpenSSH::debug = ~0;
turns on all debug information, but I think you'll be most interested in what the documentation calls bit 4 ("connecting") and bit 64 ("IO loop"). I would call these bits "bit 3" and "bit 7", but having them as numbers suggests the following line:
$Net::OpenSSH::debug = 4+64; # connection and IO loop
A random Google search for the error message and WSL suggests that maybe WSL doesn't allow fetching the peer user information, or maybe that the wrong SSH command (maybe ssh.exe ?) gets launched. This feels like a really long shot but should be easily verified (or rather, discarded) if you look at the output of
$Net::OpenSSH::debug = 8+16; # commands and execution
In reply to Re: Net::OpenSSH channel_post_mux_listener getpeereid failed: Operation not supported
by Corion
in thread Net::OpenSSH channel_post_mux_listener getpeereid failed: Operation not supported [RESOLVED]
by kbro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |