added ssh check