gpt4 book ai didi

openshift - 无法登录到 Openshift

转载 作者:行者123 更新时间:2023-12-01 22:53:23 28 4
gpt4 key购买 nike

几天来,我一直在尝试通过 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 myemail@gmail.com 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 key 两次,它永远不会接受我的密码,给我以下错误:
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 5394cd33e0b8cde6ce000132@ghost-mydomain.rhcloud.com

它提示我输入密码,无论我输入多少次,它都会失败:
将密码保存到钥匙串(keychain)失败

我究竟做错了什么?我怎样才能简单地登录到 openShift 并使用我的应用程序?

最佳答案

当你得到

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)



只需从 .ssh 目录中删除 ssh key id_rsa,然后运行 ​​ rhc setup它将为您创建一个具有相同名称的新名称。

关于openshift - 无法登录到 Openshift,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24221319/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com