无法建立主机&nodens-xxxxx.rhcloud.com的真实性

时间:2015-09-17 05:36:13

标签: git ssh rsa openshift redhat

我在 www.openshift.redhat.com 中创建了新应用。但是当我将存储库克隆到我的计算机时,它会显示以下详细信息

Cloning into 'xxxx'...
The authenticity of host 'xxxx-easychat.rhcloud.com (52.7.6.68)' can't be established.
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.xx.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

如果我把它作为"是"存储库可以克隆。但我无法承诺 它显示以下错误:

致命:不是git存储库(或任何父目录):。git

之后我将id_rsa.pub内容添加到https://openshift.redhat.com/app/console/keys/new并保存。
但同样的事情发生了 运行 rhc sshkey列表时,它会显示相同的指纹

我该怎么办?

1 个答案:

答案 0 :(得分:1)

  

但我无法承诺。

确保先在repo中cd,进行一些更改,将它们添加到索引(git add)并提交。

例如,请参阅官方developers.openshift.com doc“Using the Git Repository”。