title: Option for SSH to timeout after a short time? ClientAlive & ConnectTimeout don't seem to do what I need them to do
body: <p>I'm sending a command by SSH. This particular command happens to tell the machine to reboot. Unfortunately this hangs my SSH session and does not return so that my script is unable to continue forwards onto other tasks.</p>
  
  <p>I've tried various combinations of modifying the command itself to include "exit" and or escape commands but in none of those cases does the machine pick up on both the reboot and the command to close the SSH session. I've also tried ConnectTimeout and ClientAlive options for SSH but they seem to make the restart command ignored.</p>
  
  <p>Is there some obvious command that I'm missing here?</p>