test if remote file or directory exists with ssh 21/12/2018 nickollas Shell Script ssh user@host test -e /tmp && echo true || echo false