【发布时间】:2016-07-01 13:36:08
【问题描述】:
我正在尝试将 openshift 应用程序导入 eclipse。
我收到以下错误消息:
Could not clone the repository. Authentication failed.
Please make sure that you added your private key to the ssh preferences.
ssh://57766e5e0c1e66b5c5000073@javaapp-tcinfopage.rhcloud.com/~/git/javaapp.git/: ProxyHTTP: com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out: connect
我在 Eclipse 中多次生成新的 RSA 密钥。
在 ssh 首选项中,引用了私钥和公钥。
我还将公钥包含在我的 openshift 帐户中
我不知道该怎么做,也找不到任何解决方案。
这是怎么回事?
编辑
D:\TEST>git clone ssh://5777ab8d0c1e662a4d0001af@javacloudapp-tcinfopage.rhcloud.com/~/git/javacloudapp.git/
Cloning into 'javacloudapp'...
Warning: Permanently added 'javacloudapp-tcinfopage.rhcloud.com,52.20.106.184' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
D:\TEST>
【问题讨论】:
-
远程存储库托管在哪里?
-
我在错误的第 3 行看到连接超时错误。即使有身份验证失败,任何人都确定这是否是我们得到的?因为我猜它最后会说 Auth 失败。
-
stackoverflow.com/questions/36349162/… 和 stackoverflow.com/questions/9804071/… 有一些建议。请检查您的 ip 和端口是否可以通过 telnet 访问。
-
@Manish 那不是 57766e5e0c1e66b5c5000073@javaapp-tcinfopage.rhcloud.com/~/git/javaapp.git/ 吗?
-
@GauthamanSahadevan 我看了那些...那里描述的步骤没有帮助。