script to check for sssh reachablility