Shell Scripts

Shell Scripts

Posted on

If you want to execute a Shell Script, that connects to another server and executes another script, this is the nomenclature. Make sure to include the && between each command. ssh root@$SERVERIP ‘cd /PATH/TO/SHELL SCRIPT && ./SCRIPT.sh