in reply to Re: strange Net::SSH2 on Solaris10
in thread strange Net::SSH2 on Solaris10

Hi Salva,

Thanks for your reply.

Are both scripts connecting to the same host as the same user?

Yes. That's correct.

then the problem may be caused by some incompatibility between libssh2 and the remote SSH server software.

This sub routine works perfectly in Perl 5.8.8 (may be that is ActivePerl) but now it is Perl 5.8.9. Do you think that this might be the cause?

Thanks,
Ashok.

Replies are listed 'Best First'.
Re^3: strange Net::SSH2 on Solaris10
by salva (Canon) on May 30, 2012 at 18:21 UTC
    So, both scripts fail under 5.8.9? or are you running one under 5.8.8 and the other under 5.8.9?

    It is very unlikely that the changes between 5.8.8 and 5.8.9 could affect Net::SSH2, but there may be other changes as versions of the module, or the library or of any of its dependencies.

    Who knows! you have not given enough detail.

      I have only 5.8.9 on this new server and only one script is working here. Previously, we have perl 5.8.8 and no issues with that.

      Thanks,
      Ashok.