Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Net::SSH2 related query

by salva (Abbot)
on Nov 19, 2013 at 13:47 UTC ( #1063332=note: print w/ replies, xml ) Need Help??


in reply to Net::SSH2 related query

Net::SSH::Any builds on top of Net::SSH2 and is quite easier to use:

my $ssh = Net::SSH::Any->new($host, user => $user, password => $pass, +backends => 'Net::SSH2'); my $output = $ssh->capture("ls"); print "output:\n$output";


Comment on Re: Net::SSH2 related query
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-07 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls