用git extensions clone项目时提示此主机的指纹不是由putty注册的解决办法

重装系统用自己之前生成的ssh key去clone项目的时候会提示"此主机的指纹不是由putty注册的"。

其中有段

The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it

出现这种问题有两种办法clone自己的项目下来。

第一种:

  不通过ssh验证clone。直接用https clone,这样只需要输入帐号密码即可。然后后面pull时候用ssh key就不会有之前的提示了

 

第二种:

      执行对应的plink host。

    

  

    然后再执行对应的plink host,host为git的域名路径,然后点y

plink git@git.oschina.net:codemax

  然后输入y确认即可。

这样后再去clone push就正常了。

posted @ 2016-09-25 19:56  Todd.He  阅读(2226)  评论(0编辑  收藏  举报