in reply to Net::SSH::Perl hangs after 1 hour
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.# Lifetime and size of ephemeral version 1 server key #KeyRegenerationInterval 1h #ServerKeyBits 768
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH::Perl hangs after 1 hour
by FloydATC (Deacon) on May 24, 2009 at 05:30 UTC | |
|
Re^2: Net::SSH::Perl hangs after 1 hour
by FloydATC (Deacon) on May 24, 2009 at 07:05 UTC |