I have a perl script to connect to remote host using SSH2 and execte commands.
Script creates connection, opens channel, executes the commands and closed channel and connection.
This script is called by some scheduler process which wil execute at 30 sec interval.
it is working fine, but has script doesn't execute the commands when the remote SSH is reset(down and up).
It works fine when i restart the scheduler.
Can any one help?