Add logging to the SSH slave and reboot state logging