The authenticity of host can't be established

前端 未结 4 1533
广开言路
广开言路 2021-02-07 01:02

I am doing a git pull for the first time and have been prompted in git that the authenticity of host can\'t be established, the RSA key fingerprint isn\'t correct compared to th

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 01:42

    There is a better answer posted here:

    http://stackoverflow.com/questions/2643502/git-permission-denied-publickey

    This saved me!!!

    These commands only work in the git bash prompt. For windows you most likely will need to be in your c:/users//.ssh directory. and also name your key "is_rsa". passphrase is optional and if you provide on you'll be prompted for it each time you do a pull.

    good luck.

提交回复
热议问题