add +x on script
configure ssh remote machine by root