optimized ssh ananlysis

I think this is not going to work because of https://github.com/nearform/nscale/issues/37.