Is this an expected change, or is something different on Bitbucket's end? Most connections over SSH from our network are showing remote host identification warnings.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A.
Please contact your system administrator.
Add correct host key in /home/user/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/user/.ssh/known_hosts:3
remove with:
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "bitbucket.org"
Host key for bitbucket.org has changed and you have requested strict checking.
Host key verification failed.
There isn't a key change blog post or notification since 2023.
I got a response from Bitbucket's support team, this was a temporary configuration error and not a security breach.
I hope you are doing well. I am Sandeep, Senior Support Engineer in Bitbucket Cloud support team and I will be helping you with this case.
I am sharing below the information about the SSH.
Who this is for
Between 2026-06-02 19:38 UTC and 20:09 UTC, bitbucket.org's SSH service temporarily presented our previous host key used prior to Bitbucket’s 2023 Host Key Rotation. If, during that window, you removed your saved bitbucket.org entry and re-accepted the new key, your known_hosts may now contain the wrong (old) key.
We've corrected the service, so it's once again presenting the correct host keys.
...
Was this a security incident?
No. Despite the warning, no security incident has actually occurred. This was triggered by a configuration update which inadvertently caused Bitbucket to serve SSH traffic using the previous, pre-2023-rotation key.
If you received a REMOTE HOST IDENTIFICATION HAS CHANGED error in this window, your connection was still private. If you have any concerns, refer to the Fingerprints section below.
DO NOT update your `known_hosts` at the time. This is the former key that was leaked (details here : https://www.atlassian.com/blog/bitbucket/ssh-host-key-changes).
This does not seem legit at all, so please wait for Atlassian to issue an official statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My guess is that it was a misconfiguration somewhere that switched back to the old key rather than someone intentionally compromising the bitbucket.org domain and using the old key to avoid detection, but I guess we'll find out!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I get the same message... it just happened within the last 20 minutes I believe... I was able to connect prior to that. I feel that Bitbucket should publish a notice about this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed. Looks like the last time they rotated keys was a few years ago, and they published a notice back then, with the new signatures.
https://www.atlassian.com/blog/bitbucket/ssh-host-key-changes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This happen to be the fingerprint of the old keys... but they were compromised (the very reason to have been rotated).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yup... I'm not seeing anything about them announcing it.
I'd suggest NOT modifying your known_hosts until we get a response from bitbucket around this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This caused lots of loss of productivity, as dozens of people got the error and stopped their work to try to troubleshoot it.
Need full transparency about what happened here! What is the explanation??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The solution appears to be changing the host used by the remote from bitbucket.org to ssh.bitbucket.org as described at https://community.atlassian.com/forums/Bitbucket-articles/Upcoming-change-to-Bitbucket-Cloud-SSH-access-move-from/ba-p/3234032.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The solution is to not trust bitbucket.org until Atlassian explains why the trust chain broke down. The article you mention has a 'implement by' date that's still five months away.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem appears to have been on Atlassian's side. I have made no changes locally and am able to successfully git fetch again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think so. That is talking about changing the URL in your rpos to hit a new remote and the fact that you will need to pull new keys for the new subdomain. What everyone here (myself included) is talking about is the fact that the RSA keys for "bitbucket.org" changed without notice. They have been pretty forthcoming about previous changes, so this is a bit out of character. Considering the plethora of supply chain attacks this year, we are all pretty justifiably paranoid.
These SSH keys are supposed to be inviolate for this very reason. ANY change that isn't telegraphed far in advance (like the November 2026 deadline in your article) should be considered suspect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I forgot to mention also verifying the presented host keys against the ones published at https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/.
Perhaps the Bitbucket infrastructure was corrected just moments before I tried the new remote and my "solution" is irrelevant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.