Git server's host key not cached in registry - GitHub.com

前端 未结 5 738
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 18:12

Continuation of issue here: I\'m trying to set up my first Git Repository on GitHub. (Note, this means I can\'t use putty, I\'m using openssh, or at least

5条回答
  •  [愿得一人]
    2020-12-09 18:40

    The ideal solution would be (if you really don't need to use plink in git) removing the GIT_SSH environment variable and generating a new keypair with command ssh-keygen -t rsa -C "youremail" on Git Bash then change your ssh key in github because from what I've understood from the comments is putty and openssh is conflicting.

    However, if you still want to use plink you can use PuTTYgen to generate a PuTTY format key then change your public key in github and load your private key in PuTTYagent then you should do a connect to github.com with PuTTY this would add githubs fingerprint to known_hosts and you are good to go. This would be a resource to github with PuTTY http://nathanj.github.com/gitguide/tour.html

提交回复
热议问题