sli*_*pha 11 git git-extensions
我在过去的2个小时里一直在努力.我正在使用xp-dev作为git存储库提供程序(因为我已经付费并且我在那里有svn repo)我已经给了xp-dev我的公钥.
但克隆我的回购时,我被拒绝了.
"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
Run Code Online (Sandbox Code Playgroud)
根据我从各种博客的理解,git扩展应该让我加载我的私钥,除非它没有.
我尝试启动putty authentification客户端(即使我选择openSSH)并在里面加载我的私钥,但它什么都没改变.
有任何想法吗?
谢谢.
Sov*_*Sok 20
我有这个问题,因为我使用ssh-keygen生成了一个SSH密钥,并试图将它与GitExtensions一起使用,它只能理解OpenSSH密钥.
你需要做的是,来自GitExtensions:
mykey.ppk
您现在应该可以在GitExtensions中使用这个新的.ppk文件!
只有在使用Putty时,GitExtension才会要求加载私钥.您应该为OpenSSH手动执行此操作,如GitHub所述https://help.github.com/articles/generating-ssh-keys
使用 Git-Extensions 可以很容易地做到这一点;