我已经尝试通过 Openshift 连接到我的应用程序好几天了,但仍然没有成功。
我现在不确定该去哪个论坛,因为我没有在任何地方获得帮助。
1)我将通过终端并运行sudo rhc setup
(我之所以使用sudo是因为没有它就无法进行下一步)
2)然后系统会提示我执行以下操作:
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] /cdn-cgi/l/email-protection 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) 我创建了这个 SSH 密钥两次,它永远不会接受我的密码,并出现以下错误:
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)然而令人困惑的是它给了我以下结果
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)然后我使用我的应用程序页面上给出的访问命令:
ssh [email protected] /cdn-cgi/l/email-protection
它提示我输入密码,无论输入多少次,都会失败:
将密码保存到钥匙串失败
我究竟做错了什么?我如何简单地登录 openShift 并使用我的应用程序?