bitbucketにpushしようとしたら表記ワーニングがでて接続できなかった

PS D:\dev\hoge> git 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 RSA key sent by the remote host is
SHA256:□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□
Please contact your system administrator.
Add correct host key in /c/Users/ryo/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/ryo/.ssh/known_hosts:2
RSA 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.
PS D:\dev\hoge

こんな時は既に保存してあるキーを削除すればOK
known_hostsを直接編集してもいいし、ssh-keygenコマンドのRオプションでもよし
以下はssh-keygen -Rで削除した例

PS D:\dev\hoge> ssh-keygen -R bitbucket.org
# Host bitbucket.org found: line 2
/c/Users/ryo/.ssh/known_hosts updated.
Original contents retained as /c/Users/ryo/.ssh/known_hosts.old

これでgit pushすると知らんサイトだけどつないでいいか?言われるんでyesっていうと新しいキーが登録されて無事pushできました

PS D:\dev\hoge> git push
The authenticity of host 'bitbucket.org (2406:da00:ff00::22cd:e0db)' can't be established.
ECDSA key fingerprint is SHA256:□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'bitbucket.org' (ECDSA) to the list of known hosts.
Warning: the ECDSA host key for 'bitbucket.org' differs from the key for the IP address '□□□□:□□□□:□□□□::□□□□:□□□'
Offending key for IP in /c/Users/ryo/.ssh/known_hosts:13
Are you sure you want to continue connecting (yes/no)? yes
Enumerating objects: 53, done.
Counting objects: 100% (53/53), done.
Delta compression using up to 8 threads
Compressing objects: 100% (37/37), done.
Writing objects: 100% (37/37), 4.41 KiB | 1.47 MiB/s, done.
Total 37 (delta 30), reused 0 (delta 0), pack-reused 0
To bitbucket.org:iqcompany/hoge.git
   ee4eee8..e35f22f  develop -> develop
PS D:\dev\hoge> 

以上覚書