Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Using Eclipse System Explorer to SSH into the application gear


In this recipe, you will learn how you can SSH into the application gear from within Eclipse.

Getting ready

This recipe requires you to have Eclipse with the JBoss Tools OpenShift plugin installed. Please refer to the Developing OpenShift Java applications using Eclipse recipe for more information.

How to do it…

Perform the following steps to learn how to SSH into the application gear from within Eclipse:

  1. Create a new application using the OpenShift Eclipse plugin. Refer to the Developing OpenShift Java applications using Eclipse recipe for instructions.

  2. Navigate to Window|Open Perspective|Other|Remote System Explorer to open the Remote System Explorer perspective. Have a look at the following screenshot:

  3. Go to OpenShift Explorer and copy the SSH connection details as shown in the following screenshot:

  4. Copy the SSH details as shown in the following screenshot:

  5. Go back to the Remote System Explorer perspective, and define a new connection...