in reply to Module Net::OpenSSH error child exited with code 255
Net::OpenSSH uses a feature available in recent OpenSSH ssh clients that allows to establish the SSH connection to the remote host from one process and then, reuse it from other processes.
Unfortunately, that feature does not work under Windows because these OSs lack support for passing open file handles between processes through local sockets that's the way OpenSSH internally connects SSH channels to the I/O streams of the slave processes.
AFAIK, nobody has found a way to overcome this limitation yet.
Try Net::SSH2, Net::SSH::Perl, Net::SSH::Expect (that works under Cygwin but not under other perls for Windows) or Net::SSH.
|
|---|