Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to login to Openshift

I have been trying to connect to my application via Openshift for days and still have no luck.

I am no certain of which forum to go at this point because I am not getting help anywhere.

1) I am going via terminal and running sudo rhc setup (the reason why I am using sudo is because without it, it did not go to the next step)

2) I am then prompted to do the following:

This wizard will help you upload your SSH keys, set your application namespace, and check
that other programs like Git are properly installed.

Using an existing token for [email protected] to login to openshift.redhat.com

Saving configuration to /Users/myuser/.openshift/express.conf ... done

Checking for git ... found git version 1.9.2

Checking common problems .Enter passphrase for /Users/myuser/.ssh/id_rsa: 
Enter passphrase for /Users/myuser/.ssh/id_rsa: 
Enter passphrase for /Users/myuser/.ssh/id_rsa: 

3) I created this SSH key twice and it will never accept my password giving me the following error:

An SSH connection could not be established to ghost-mydomain.rhcloud.com. Your SSH
configuration may not be correct, or the application may not be responding. Could not    parse
PKey: no start line (ArgumentError)

4) Yet confusingly it gives me the following result

Checking for a domain ... mydomain

Checking for applications ... found 1

ghost http://ghost-mydomain.rhcloud.com/

You are using 1 of 3 total gears
The following gear sizes are available to you: small

Your client tools are now configured.

5) I then use the access command given on my application page:

ssh [email protected]

It prompts me to type in my password and no matter how many times I enter it, it fails: Saving password to keychain failed

What am I doing wrong? How can I simply login to openShift and use my application?

like image 633
HGB Avatar asked Jun 14 '14 15:06

HGB


People also ask

How do I log into my OpenShift server?

Basic Setup and Login OpenShift server [https://localhost:8443]: https://openshift.example.com Username: alice Authentication required for https://openshift.example.com (openshift) Password: ****** Login successful.

Can I use OpenShift for free?

OpenShift Online provides a free starter tier, intended for experimentation, testing or development. When you are ready to move your application to production and make it available to others to use, or you need additional resources beyond that provided by the free tier, you can upgrade to the paid tier.

Is OpenShift compatible with Kubernetes?

It is widely considered as a Platform as a Service (PaaS) that provides containerization services. It offers built-in monitoring, enterprise-grade security, centralized policy management, and self-service provisioning. OpenShift is compatible with Kubernetes container workloads.


1 Answers

When your got

SSH connection could not be established to myapp-mydomain.rhcloud.com. Your SSH configuration may not be correct, or the application may not be responding. Could not parse PKey: no start line (ArgumentError)

just delete ssh keys id_rsa from .ssh directory and than run rhc setup it will create new one for you with the same name.

like image 195
njjnex Avatar answered Sep 24 '22 01:09

njjnex