Bitbucket: Warning Remote Host Identification Has Changed

B

On June 20, 2023, Bitbucket issued two new SSH host keys and started replacing the current host keys. This caused my Terminal access to throw a “Warning: Remote Host Identification has changed!” error.

Quick and easy instructions to fix this error can be found on Bitbucket’s blog, “SSH Host Key Changes.

Fix "Warning: Remote Host Identification has changed!" error due to May/June 2023 updates in BitBucket.

Terminal Commands to run

Determine which host key your SSH client is using, copy and paste below:

ssh git@bitbucket.org host_key_info

If you need to update your fingerprints, use this code:

Code for updating bitbucket fingerprints

That’s it. Rerun the first command to verify the fingerprint change was a success.

Happy Coding!

About the author

Kelly Barkhurst

Designer to Fullstack is my place to geek out and share tech solutions from my day-to-day as a graphic designer, programmer, and business owner (portfolio). I also write on Arts and Bricks, a parenting blog and decal shop that embraces my family’s love of Art and LEGO bricks!

Add comment

Recent Posts

Archives

Categories