Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Running a local script on a remote machine (or remote on local)

ssh remoteuser@ip.address.of.server 'bash -s' < scriptfile.sh
Source by www.maketecheasier.com #
 
PREVIOUS NEXT
Tagged: #Running #local #script #remote #machine #remote
ADD COMMENT
Topic
Name
5+9 =