in reply to Net::SSH::Expect timeout/delay issue

Don't use Net::SSH::Expect, it is not reliable.

Better alternatives are Net::SSH2 and Net::OpenSSH.

  • Comment on Re: Net::SSH::Expect timeout/delay issue

Replies are listed 'Best First'.
Re^2: Net::SSH::Expect timeout/delay issue
by sierpinski (Chaplain) on Nov 18, 2009 at 14:19 UTC
    Thanks for the response. Unfortunately while I do follow the 'Yes even you can use CPAN' instructions, there are rules here against putting "production" code in place with non-company-approved modules, and the only SSH modules we are allowed are Net::SSH and Net::SSH::Expect. Also, even though it's not shown here I do utilize the Expect part of it as well.

    Our security team is strongly opposed to using anything with 'Open' in the title, regardless of it's security or functionality. Ah the corporate machine!

    Thanks!
    /\ Sierpinski
      Our security team is strongly opposed to using anything with 'Open' in the title, regardless of it's security or functionality. Ah the corporate machine!

      You are running Solaris on your servers, right?

      Try running there...

      $ strings /usr/bin/ssh |grep -i open
        Your point? I don't make the rules. They allow that because it's Sun's version of SSH that ships with the OS natively, and not something we download from the 'open community', and that version of ssh (and that one alone) is supported by Sun for our contract.

        As much as I think it's a great thing, CPAN is full of modules written by everyday people, regardless of integrity or testing from the Perl community. I have no reason to argue with them, I'm just trying to get my code to work so I can move on to the next problem. Did you have a comment that actually might help me?

        /\ Sierpinski