我有了一个新的git,由于某种原因,我不能在一台机器上克隆。Clone在我的笔记本电脑和各种台式机上都工作得很好,但在安装了git的旧服务器上-- 1.5.2.1版--我得到了以下错误:
git clone git@git.assembla.com:sbpy.git
Initialized empty Git repository in /home/pkp/test/sbpy/.git/
Permission denied (publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly
fetch-pack from 'git@git.assembla.com:sbpy.git' failed.我不能升级本地的git。有人能帮我解决这个问题吗?
谢谢
发布于 2013-04-04 15:27:10
您需要生成 ssh 密钥,上面发布的链接是一个很好的链接。
要将您的公共 ssh 密钥(您显然可以上传多个密钥,可能在不同的计算机上使用)上传到 assembla,请转到:用户个人资料页面上的Manage Ssh Keys选项卡。
确保您已登录。
发布于 2013-03-31 06:46:32
如果这是你的回购。首先,您必须配置ssh密钥。
遵循https://help.github.com/articles/generating-ssh-keys,但不要将密钥复制到github。然后将您的公钥(id_rsa.pub)的内容添加到您在assembla.com中的帐户(我不知道汇编用户界面,但必须有一个选项来添加您的密钥)
然后克隆你的repo。
https://stackoverflow.com/questions/15723683
复制相似问题