If you have a local script file and want to run the script on another server use the following : ssh root@torino.maranello.local ‘bash -s’ < script_local.sh Enjoy 🙂
Cool way to run a script on a remote machine
Posted on
If you have a local script file and want to run the script on another server use the following : ssh root@torino.maranello.local ‘bash -s’ < script_local.sh Enjoy 🙂