in reply to Re: How to execute and capture output of remote commands using Net::SSH2
in thread How to execute and capture output of remote commands using Net::SSH2

Hello Salva

You are absolutely right, I am running libssh2-1:amd64                               1.5.0-2                                       amd64        SSH2 client-side library this is why I can not see a proper error code.

Unfortunately this is the version that cane with the latest openssh-server/client on my distribution. I also know that on Ubuntu libssh2 has 3 active bugs, see libssh2 package in Ubuntu .

Most likely the solution to my problem would be to install libssh2 1.7.0-1 as you suggest. Thank you for your time and effort reading and replying to my question.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^3: How to execute and capture output of remote commands using Net::SSH2
by salva (Canon) on Oct 26, 2016 at 19:32 UTC
    In Linux, usually, Net::OpenSSH is easier to use and doesn't need any dependency besides the binary ssh client.