I was looking at this thread
https://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-a-shell-script-on-a-remote-machine
I am trying to figure out how to use the rhc command to run a local script on the remote server.
I can ssh into my redhat/openshift servers like so:
rhc ssh <app-id>
Right now, I am copying local scripts from my local machine to the remote using scp.
Does anybody know if there is an rhc
command to run a local script on that remote server?
or should I just use the ssh
command instead of rhc
?