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@se
I don't know if it's possible to run it just like that.
I usually first copy it with scp and then log in to run it.
scp foo.sh user@host:~ ssh user@host ./foo.sh