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

前端 未结 5 740
隐瞒了意图╮
隐瞒了意图╮ 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:43

    Adding info to the post of @Name (for the sake of completeness), as I just had (again) this issue today.

    Putty stores its SSH known hosts in a registry key, not in the ~/.ssh/known_hosts file like SSH. So to make Git work with PLink and Pagent, you just have to start a Putty session on the remote Git server, and accept the key. This way, you won't have the message again.

    This is disturbing, as you have to accept the SSH key twice : one for SSH-ing the server, one for Putty/Plink/Pagent, but once you do it, it works like a charm.

提交回复
热议问题