Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Net::SSH::Perl kills perl from within an eval

by Krambambuli (Deacon)
on Oct 28, 2008 at 07:27 UTC ( #719926=note: print w/ replies, xml ) Need Help??


in reply to Net::SSH::Perl kills perl from within an eval

Maybe you can turn on some extra params to the connection to see more of what's going on, like

my $ssh = Net::SSH::Perl->new( "host", debug => 1, options => [ "ConnectTimeout 30", "LogLevel Debug3", "ServerAliveInterval +10", "ServerAliveCountMax +5", ], );
With a bit of luck, you might get ssh behaving in a way that would not make Perl show the unwanted behavior even with a flaky connection or over a link that faces packet loss.

Hth,

Krambambuli
---


Comment on Re: Net::SSH::Perl kills perl from within an eval
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-07-04 08:55 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 (58 votes), past polls