javascript:void(null)git Lab-Host key veriflication failed.

1819 ワード

会社はGitLabを使っていますが、Pullとpushのコードは全部間違っています.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:fyz9pKs5X55RS646N75q+q2/MUVXfl82TmKO2P52+do.
Please contact your system administrator.
Add correct host key in /Users/zhaolu/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/zhaolu/.ssh/known_hosts:1
ECDSA host key for git.dev.jhb.net has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.```

            ,**    IP  **。

     **  known_hosts  **(         )。
zhaolude MacBook-Paro:test zhaoluドルrm/Users/zhaolu/.ssh/known_hosts/削除hosts zhaolude MacBook-Paro:test zhaolu/ls/Users/zhaolu/.ssh/known_hosts ls:/Users/zhaolu/.ssh/known_hosts:No such file or directory/削除きれいになりましたzhaolude MacBook-ro: test zhaolu$git pputututustrem master//do引き出しコードThe authenticity of host'git.dev.test.net(60.205.126.31)'can't't be be esblisisaaaaaaaaafffffffshshshshshshshshshshaaaaaaaaaaaaaaaffffffffffffffftttttttttffffffffffffffffffffffffffffffsure you want to continue connecting(yes/no)?yes/ここでyes Warningを記入します.Permanently added'git.dev.test.net、60.205.126.31'(ECDSA)to the list of known hosts.From git.dev.test.net:iOS/test
  • branch master->FETCH_HEAD
  • [new branch]master->up stream/master Already up-to-date.//コードの引き出しに成功しました`.
    ネット上で他の方法があります.試してみません.効果が分かりません.この方法は自分で測ってみました.皆さんの参考になります.