fixed ssh script