Tuesday, April 23, 2013

How could you run a shell script on remote server?

ssh <remote_user>@<remote ip> 'sh -s' < /home/user/script.sh

No comments :