remote scripts and ssh

March 22, 2017

With ssh you are able to execute a local script on a remote host with:

 

Korn shell: ssh -q [servername]  ksh <myscript.sh

bash shell:  ssh -q [servername]  bash <myscript.sh

Comments are closed.

Previous Post
«