Reconfigure ssh server before reboot