OpenShift is an open source container application platform by Red Hat based on top of Docker containers and the Kubernetes container cluster manager for enterprise app development and deployment.
Putty With Openshift
In this tutorial, I will tell you how to use putty with openshift as an SSH client for your applications hosted on Openshift.
PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers. It’s a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port.
-> You can download PuTTY here.
->Before this, you will be also requiring Putty Gen. Download it here.
Learn how to create a Public Key and Private Key with Putty Gen.
-> An openshift account, application and application URL that you have already created with the above keys assigned to the openshift account.
Learn how to Assign those Keys in your openshift account.
- You don’t need to install it, just download the application file and you are ready to go.
- At first, when you will open the application, you will be already on the session page.
- Now Specify the hostname:
That will be your application URL
- After that select the connection type as “SSH”.
- Then from the sidebar in category, go to “Connections”,
- Then go to Data
- Specify the auto-login username – That will be your application address which is an alphanumeric number.
- Then goto SSH from the sidebar category
- Then select “auth”, click on “browse” and “select your private key”.
- Goto “Session” Again
- Click Open.
- Now an SSH terminal will open and you are free to do anything in it.