I want to run a script remotely. But the system doesn't recognize the path. It complains that "no such file or directory". Am I using it right?
ssh kev@server1 `./test/foo.sh`
You can do:
ssh user@host 'bash -s' < /path/script.sh