Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Multilevel SSH

by salva (Monsignor)
on Oct 17, 2012 at 07:49 UTC ( #999475=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ssh = Net::OpenSSH->new($target,
                                gateway => { proxies => ['ssh://serverA',
                                                         'ssh://serverB'] 
    +});
    
    my $output = $ssh->capture('ls');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-07-22 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (126 votes), past polls