Net::SSH2 or Net::OpenSSH are probably better options, or if you want to run commands on several hosts Net::OpenSSH::Parallel.
use Net::OpenSSH; my $ssh = Net::OpenSSH->new($myhostname, user => $user, master_stderr_discard => 1 # quiet! ); my $output = $ssh->capture("cat /etc/redhat-release");
In reply to Re: making NET:SSH quiet
by salva
in thread making NET:SSH quiet
by Stoomy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |