Is there any way that ssh can specify the working directory on the remote host when executing bash scripts through ssh? So that the bash scripts can use relative path in it instead of absolute path. The below example seems not working. Please help, thanks.
Example for bash script on remote host:
./executable -o arg1 -i arg2
Example for command send on local:
ssh firstname.lastname@example.org '/path/to/script/myscript.sh'