Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

run shell script remotely using ssh

ssh root@MachineB 'bash -s' < local_script.sh
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #shell #script #remotely #ssh
ADD COMMENT
Topic
Name
9+2 =