Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^8: SSH2 - Asynchronous Opens & Synchronous Commands

by 5haun (Scribe)
on Apr 06, 2014 at 15:57 UTC ( [id://1081314]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ssh_debug = 0;  # verbose logging: 0-3
    ...
    ...
            async            => 1
        );
    }
    
  2. or download this
            elsif ( $ssh->error ) {
                # handle connection error
                my $lasterr = File::ReadBackwards->new("ssh_$host.log")->r
    +eadline;
                # ... something that outputs or logs the error message
            }
    
  3. or download this
    Not a GLOB reference at /usr/local/share/perl/5.14.2/Net/OpenSSH.pm li
    +ne 614.
    
    ...
     615     defined $fn and $fn >= 0 and return;
     616     croak "child process $name is not a real system file handle";
     617 }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found