Download OpenShift All Versions User Guide
Transcript
48 Chapter 3. OpenShift Command Line Interface Use the rhc dom ain info command and note down the UUID and gear name of your application, as highlighted in the figure below. In this example the UUID and gear name are highlighted for the application named testapp. Figure 3.5. Application UUID and Gear Name Alternatively, you can use the OpenShift Management Console to get the required information for your application. From the OpenShift Management Console, click on the My Applications tab, then click the name of the application you wish to access. T he UUID and gear name can be found under the GIT REPOSITORY heading, as highlighted in the figure below. Figure 3.6. Application UUID and Gear Name_WebUI T ake note of this information, because in the next step you will use the UUID as the username, and gear name as the hostname to configure PuT T Y, and establish an SSH connection to your application. T o avoid errors, it is recommended you cut and paste this information into PuT T Y. Step 4 : Establish SSH Connection Using PuT T Y Now that you have the necessary information, you are ready to configure PuT T Y to establish an SSH connection to your application. Follow the instructions below to configure PuT T Y using the information from the previous step. 1. Double-click putty.exe to launch the PuT T Y SSH and T elnet client. If necessary, click Run in the Security Warning window. If you installed the PuT T Y software with the installer file, click Start, point to All Programs, point to PuT T Y, and then click PuT T Y. 2. In the left window pane under Category, click Session. Now copy and paste the gear name of your application in the Host Name text box, as highlighted in the figure below.