Help for this page
use Net::SSH::Any; my $ssh = Net::SSH::Any->new($host, ... $ssh->error and die "unable to connect to $host"; my $output = $ssh->capture('ls');