Git不工作并要求输入未知密码

时间:2015-09-25 09:46:27

标签: git github ssh dns

我的git最近遇到了很多问题。 5天前,它工作得很好,现在,我无法做任何事情。当我试图克隆/推送什么时,git会问我一个我没有的密码(例如,如果我尝试克隆git@bitbucket.org/name/project.git,git就会问我git@bitbucket.org& #39;密码。每次我第一次尝试克隆时,都会显示以下消息:

WARNING: POSSIBLE DNS SPOOFING DETECTED!          @

The ECDSA host key for bitbucket.org has changed,
and the key for the corresponding IP address ***.***.***.**
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.

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
**********************************.
Please contact your system administrator.
Add correct host key in ***********/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in ***********/.ssh/known_hosts:1
ECDSA host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

我在Windows上工作,我已经尝试重新安装git,使用一些新的ssh密钥,但没有更改。

我真的不知道这个错误来自哪里。 谢谢!

0 个答案:

没有答案