Help for this page

Select Code to Download


  1. or download this
    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');