Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Capturing SSH output in an array.

by salva (Monsignor)
on Nov 15, 2012 at 09:37 UTC ( #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
Node Status?
node history
Node Type: note [id://1003982]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-07-24 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls