Can't manage to load my private key with git extension

好久不见. 提交于 2019-12-04 02:55:04

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

I had this issue because I generated a SSH key with ssh-keygen and tried to use it with GitExtensions which only understands OpenSSH keys.

What you have to do is, from GitExtensions:

  • Tools > Putty > Generate or import key (A new window opens)
  • Conversions > Import key
  • Import your private key
  • Save private key
  • Type a file name like mykey.ppk

You should now able to use this new .ppk file in GitExtensions!

It is pretty easy to do this with Git-Extensions;

  1. Open Git Gui
  2. Help > Show SSH key
  3. Generate Key
  4. Copy To Clipboard
  5. Paste it into your profile SSH Keys in GitHub, Bitbucket, etc

I faced this issue now. I was able to get the solution via the following link from GitExtension itself.

PuTTy and Github

Same would also work of GitLab. You will need to add generated ppk file to GitHub or GitLab under settings page.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!