Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Net::SSH2 related query

by lune (Monk)
on Nov 20, 2013 at 14:40 UTC ( #1063537=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #select(undef,undef,undef,0.2);
    select(undef,undef,undef,0.001);
    
  2. or download this
    my $chan = $ssh->channel() or die "create channel:$!\n";
    $chan->shell() or die("open shell: $!\n");
    ...
    $chan->write("ls\n") or die("write to channel: $!\n"); while ( <$chan>
    + ) {
       print $_;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (18)
As of 2015-01-28 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (222 votes), past polls