in reply to Net::OpenSSH channel_post_mux_listener getpeereid failed: Operation not supported [RESOLVED]
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::OpenSSH channel_post_mux_listener getpeereid failed: Operation not supported
by kbro (Novice) on Feb 15, 2022 at 14:23 UTC | |
by salva (Canon) on Feb 15, 2022 at 15:24 UTC | |
by kbro (Novice) on Feb 15, 2022 at 16:31 UTC | |
by hv (Prior) on Feb 16, 2022 at 23:07 UTC |