better checking on ssh test