I'm using Net::SSH2 to run slow admin commands on remote hosts.
Perl 5.8.8 libssh2 1.2.2
I keep getting a strange "timeout" on channel exec.
$chan->exec( $command );
The commands being executed are normally running up to an hour (60 min) with minimal output during execution.
Short commands work fine. Slow ones with minimal output return 1 after about one minute.
I have set the socket to blocking and set timeouts to 60 minutes and so on ... nothing helped.
Any ideas?