changed ssh reboot module, added decorator