用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就正常了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM