Sometimes my ssh client will take forever to login.
This happens when the server is not responding (overloaded, killed processed, ...). My automated scripts will then fail because the ssh process will never exit.
Is there a ssh configuration value to set a timeout in order to fail if ssh can't login after a predefined number of seconds?
I know there are knobs on the server side, but I have to set this on the client side as the sshd process is not responding, or responding incorrectly.