Killing ssh process on server carrier loss

My situation is:
sshd running on windows2003 server on dialup connection which drops carrier every 24 hours.

ssh client on redhat linux (have tried's ssh client & openSSH)

My problem is this: The ssh client process will continue running after the server drops carrier and reconnects.  when it drops and reconnects my ssh tunnel is broken, and not reestablished.  I have a cron job which will reconnect the ssh tunnel (if the previous ssh tunnel is not running).  So my question is, how can i get the ssh client box to check every minute or so if the connection is still valid?  I have put 'KeepAlive yes' into the ~/.ssh/config and that didn't help one bit.

Who is Participating?
owensleftfootConnect With a Mentor Commented:
I had the same problem and sorted it with
akredhatAuthor Commented:
That is exactly what i was looking for.
All Courses

From novice to tech pro — start learning today.