made ssh cmd take operations into consideration