Here’s the way I execute rake command in OpenShift server in.
We can use the command
rhc setup with OpenShift server. I tried it, and wrote what the command do.
The way to login OpenShift server with ssh.
- OS: Ubuntu
- rhc 1.38.4
- Openshift Gear: 1 small
Register ssh public key on OpenShift Web console.
The Way to Login
Add OpenShift application name after
rhc ssh. For example, if you use
app-domain.rhcloud.com, then execute
rhc ssh app.
If you have not saved authenticate token on your local machine, you will be required to input password. Authenticate token can be saved with the command
This is the way to use ssh without rhc.
Execute the ssh command on bottom right of OpenShift Web console. Or, execute
rhc apps and you can find ssh item like
AAAAAABBBBBCCCCCCDDDDDD@app-domain.rhcloud.com, then execute ssh command with its argument,
In this way, you don’t have to input password.