optimized ssh ananlysis