git推送权限被拒绝在Clever Cloud上部署

时间:2014-06-06 20:19:41

标签: git github playframework

我想在Cever Cloud上部署Play应用程序,但我遇到了一些问题。

在GitHub上我有这个存储库:myPlayApp。

在Clever Cloud上我添加了一个新的应用程序,并且我已经收到了一个部署URL。

现在使用Git Shell我想部署。这就是我得到的:

C:\dev\myPlayApp [master]> git remote add clever git+ssh://git@push.clever-cloud.com/app_9b269ee5-4759-43bb-a8f6-3d8683b31259.git
C:\dev\myPlayApp [master]> git remote -v 
clever  git+ssh://git@push.clever-cloud.com/app_9b269ee5-4759-43bb-a8f6-3d8683b31259.git (fetch)
clever  git+ssh://git@push.clever-cloud.com/app_9b269ee5-4759-43bb-a8f6-3d8683b31259.git (push)
origin  https://github.com/zmoka/myPlayApp.git (fetch)
origin  https://github.com/zmoka/myPlayApp.git (push)
C:\dev\myPlayApp [master]> git push clever master
Warning: Permanently added 'push.clever-cloud.com,62.210.121.148' (RSA) to the list of known hosts.
Password:
Password:
Password:
Received disconnect from 62.210.121.148: 2: Too many authentication failures for git
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我已经重新生成并测试了我的ssh密钥,一切正常:

C:\dev\myPlayApp [master]> ssh -T git@github.com
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
Hi zmoka! You've successfully authenticated, but GitHub does not provide shell access.

任何人都知道如何解决这个问题?

0 个答案:

没有答案