Access multiple OpenShift accounts using terminal in Linux
Posted By : Raman Joshi | 22-Jun-2015
Today in this blog we all understand that how we can access multiple account of OpenShift using terminal in Linux. If we have multiple OpenShift account and want to access application which is installed on that account, it sometimes creates problems.
Firstly we need to setup our account which we want to access through terminal.Below command is used to setup a particular account.
rhc setup -l <username>
This will create the public key for the system to access OpenShift account. Also you can create application from terminal by using below command.
rhc app create <appname> <cartridge>
Now you can use below command to logout from any logged in account.
rhc account logout
Now to access applications which belongs to different accounts use below command.
rhc ssh <appname> -l <username>
By the use of above command you can access application which have the same name but belongs to different accounts. If you need further help regarding OpenShift you can contact me.
Thanks
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Raman Joshi
Raman is a bright web app developer with experience in Java , Groovy and Grails frameworks