I followed the instructions about the new host keys:
https://bitbucket.org/blog/ssh-host-key-changes
After that, when I tried to pull something from bitbucket, I got:
Warning: the ECDSA host key for 'bitbucket.org' differs from the key for the IP address '2406:da00:ff00::22e9:9f55'
Offending key for IP in /home/josir/.ssh/known_hosts:32
Matching host key in /home/josir/.ssh/known_hosts:166
I tried to remove all bitbucket keys:
ssh-keygen -R bitbucket.org
and replay the process. But the same problem occurs.
I also noticed that "curl https://bitbucket.org/site/ssh" is returning a different format that known_hosts stores.
I'm using Ubuntu 22.04
Could someone help me with that?