|
|
| "be consistent" | |
| PerlMonks |
Re: Net::SSH::Perl hangs after 1 hourby atcroft (Monsignor) |
| on May 24, 2009 at 00:51 UTC ( #765874=note: print w/ replies, xml ) | Need Help?? |
|
First of all, have you tried using the { debug => 1, } parameter on connecting to see what it gives you? Also, exactly 1 hour (3600 seconds) sounds familiar. Could it possibly involve the key exchange that occurs periodically? Just a few thoughts. HTH. Update (2009-05-23): In looking at the sshd_config file on one of my local machines, I found the following lines, which reinforce my thoughts about the key exchange interval (albeit commented out in that system): So I guess the next questions are: 1) are you using SSH-1, 2) what is the key exchange interval being used by the server, and 3) what does the debug output suggest? HTH.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||