Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Capturing SSH output in an array.

by salva (Canon)
on Nov 15, 2012 at 09:37 UTC ( [id://1003982]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ssh = Net::SSH::Any->new($hostname, user => $user, key_path => "/h
    +ome/$user/.ssh/id_dsa");
    if ($ssh->error) {
    ...
        say "The files and directories of $username on $hostname are given
    + below";
        say "@out";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1003982]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found