Home · Latest · Trends  /  general
0

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 user@rowty.net "bash -s" < /path/to/local/script.sh
More From » general
 

Comments

0
I simply couldn’t leave your web site prior to suggesting that I actually loved the usual information a person supply in your visitors. maid service Orlando
[#104] Thursday, June 20, 2019, 06:23:09
 
joshuaprice153
commented 2 months ago
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 127
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017
3 yaers ago, wed, feb 22, 2017