I have to run a local shell script (windows/Linux) on a remote machine.
I have SSH configured on both machine A and B. My script is on machine A which will run some o
I use this one to run a shell script on a remote machine (tested on /bin/bash):
ssh deploy@host . /home/deploy/path/to/script.sh