Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: SSH2 - Asynchronous Opens & Synchronous Commands

by 5haun (Scribe)
on Apr 04, 2014 at 23:09 UTC ( [id://1081200]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ ./threaded-test7.pl 10.88.88.88 username password 
    num hosts: 1
    ...
    bless(do{\(my $o = 140010028283744)}, "Net::SSH2")
    Trying to connect to 10.88.88.88
    Segmentation fault (core dumped)
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
        say STDERR "Usage: $0 host[,host2,...] user password";
        exit(1);
    }
    
  3. or download this
    $ ./unthreaded-test7.pl 10.88.88.88 admin password                    
    +        
    num hosts: 1
    ...
    Trying to connect to 10.88.88.88
    Connected to '10.88.88.88'
    Authenticated as user 'admin'
    
  4. or download this
    #!/usr/bin/env perl
    
    ...
        say STDERR "Usage: $0 host[,host2,...] user password";
        exit(1);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-16 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found