Cool way to run a script on a remote machine

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’ <

Enjoy 🙂

1 Reply to “Cool way to run a script on a remote machine”

  1. Hey There. I found your weblog using msn. That is an extremely neatly written article.
    I’ll make sure to bookmark it and come back to read extra of your helpful information. Thanks for the post. I’ll certainly return.

    Also visit my blog create web pages

Leave a Reply

Your email address will not be published. Required fields are marked *