In this recipe, you will learn how to use rhc to SSH into the application gear.
In order to complete this recipe, you will need rhc installed on your machine. Also, you will need to make use of the OpenShift application created in The Creating an OpenShift application using the rhc command-line client recipe.
To SSH into the application gear, open a new command-line terminal and run the following command:
$ rhc ssh --app myapp
--app option is not required if you are running the command within the application Git repository.
Every OpenShift application gear acts and behaves like a virtual server that you can access using SSH. A gear is assigned a unique user ID and ...