Run local script on remote linux host
rated 0 times [ 0] [ 0] / comments: 1 / hits: 208 / 11 months ago, tue, oct 2, 2018, 11:58:46
This comes in handy if you want to run a local script on a remote linux host.
# This will allow us to run script.sh on the remote host 'rowty.net'. ssh firstname.lastname@example.org "bash -s" < /path/to/local/script.sh
More From » general