Improvemnts in ssh rebooting schema