Closed niceperl closed 8 years ago
Hi @niceperl thanks for the report. There is already a pull request open to fix this: #822 ( duplicates: #821 )
I'm not 100% sure if they are the same issue. The failing tests on this issue are expecting a connection type of OpenSSH
, and they do that if Net::OpenSSH
is installed - which should not be the case on Windows, because Net::OpenSSH
doesn't work on Windows.
Can it be that Net::OpenSSH
is now installable on Windows? Or maybe it was force installed?
I had that issue (#821), and I installed Net::OpenSSH
on Windows with cpanm Net::OpenSSH
(yes, it works). Then cpanm Rex
gave me the error I reported
okay, then we should extend #822 with an additional detect. If it runs on windows, it must use Net::SSH2 because Net::OpenSSH doesn't run on windows. (At least that says the documentation)
https://metacpan.org/pod/Net::OpenSSH#Known-issues
Net::OpenSSH does not work on Windows. OpenSSH multiplexing feature requires passing file handles through sockets, something that is not supported by any version of Windows.
I think #965 was a duplicate of this, but that is already resolved by #1011. Sorry for the delay. Feel free to reopen if it's still the case with current development branch.
When I install Rex on Windows with perl strawberry 5.20.2, it shows me an error: