in reply to Module Net::OpenSSH error child exited with code 255

I can confirm that your script works fine---no errors, but it's on Linux. To follow up on what salva recommended, syphilis wrote a ppm for Net::SSH2 back in November of 2006. You'll find it here
  • Comment on Re: Module Net::OpenSSH error child exited with code 255

Replies are listed 'Best First'.
Re^2: Module Net::OpenSSH error child exited with code 255
by salva (Canon) on Aug 01, 2009 at 10:23 UTC
    There has been several releases of Net::SSH2 and the underlaying libssh2 library since Nov 2006. Using a package so old may not be a good idea.