Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 studying the Monastery: (12)
As of 2014-10-21 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls