in reply to making NET:SSH quiet

As the maintainer of Net::SSH, let me be the first to encourage you to look at alternate modules. Net::SSH was useful when written but is very much deprecated legacy code these days.

Net::OpenSSH looks like the best modern choice if you want to use the external ssh binary. Other alternatives worth noting are Net::SSH::Perl (perl reimplementation of the protocol) and Net::SSH2 (uses libssh2).

Replies are listed 'Best First'.
Re^2: making NET:SSH quiet
by Stoomy (Novice) on Jan 17, 2011 at 19:58 UTC
    Thanks for all the responses. I'll take a look at Net::OpenSSH. When I started this project I was using Net::SSH::Perl, this module works fine, but is far too slow for my needs. I need to get info from several hundred servers. Using Net::SSH::Perl was taking several hours vs. ~20 minutes with Net::SSH.
      Net::OpenSSH is awesome!
      With it's ability to reuse ssh connections it cut my average run time by 50%.
      (And one particularly inefficient function was reduced from 14 minutes to 4).
      IMHO, well worth the price of admission.