Report question

Question: How to check if dir exists over ssh and return results to host machine