无法管理加载我的私人密钥与git扩展名 [英] Can't manage to load my private key with git extension

查看:277
本文介绍了无法管理加载我的私人密钥与git扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试过去的2个小时。
我使用xp-dev作为git存储库提供程序(因为我已经付款并且在那里有svn repo)
我给了xp-dev我的公钥。



但是当克隆我的回购时,我被拒绝了。

 C:\ Program Files(x86)\Git\bin\git.execlone -v --recurse-submodules --progressssh://xp-dev.com/repogitc:/ ProjetPerso / repogit
克隆到'c:/ ProjetPerso / repogit'中...
权限被拒绝(publickey)。
致命:无法从远程存储库读取。

请确保您拥有正确的访问权限
并存在存储库。
完成

从我从各种博客中了解到的,git扩展应该让我加载我的私钥,除了它没有。



我尝试启动腻子验证客户端(即使我选择openSSH)并加载了我的私钥,但它并没有改变。

有什么想法?

谢谢。

解决方案

仅当您使用Putty时,GitExtension才会要求加载私钥。您应该手动执行OpenSSH,如GitHub所述 https://help.github.com/ articles / generate-ssh-keys

I've been trying for the last 2 hours. I'm using xp-dev as a git repository provider (because I'm already paying and I have svn repo over there) I've given xp-dev my public key.

But when cloning my repo I a being rejected.

"C:\Program Files (x86)\Git\bin\git.exe" clone -v --recurse-submodules --progress "ssh://xp-dev.com/repogit" "c:/ProjetPerso/repogit"
Cloning into 'c:/ProjetPerso/repogit'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

And from what I understood from various blogs, git extension should ask me to load my private key, except it doesn't.

I tried launching the putty authentification client (even though I choose openSSH) and loaded my private key inside, but it changes nothing.

Any ideas?

Thanks.

解决方案

GitExtension ask to load private key only if you use Putty. You should do it manually for OpenSSH like described for GitHub https://help.github.com/articles/generating-ssh-keys

这篇关于无法管理加载我的私人密钥与git扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆