Hi,
I have had SourceTree connected to my bitbucket account for a few years.
All seemed ok. Sometime in the past 6 months, my security stopped working.
Perhaps my SSH key expired.
I have:
- Used PuttyGen to generate a new key
- Saved public and private keys
- copied public key to Bitbucket
- Selected new private key using Pageant on my windows laptop.
Yet... I still get an error when I try to push to the server?
"The host key does not match the one that Putty has cached"
Any suggestions?
Terry
Hi Terry,
Bitbucket Cloud updated its host keys last year. These are the keys that a client uses to verify the authenticity of Bitbucket Cloud and they are not related to the SSH keys you configure for your Bitbucket Cloud account.
Based on the error you get, it sounds like PuTTY may still be configured to use one of Bitbucket's old host keys.
You can check the Technical Questions on the following page, specifically question number 9, "We are using SourceTree for Windows and are connecting via SSH, will I need to make changes to my known_hosts file ?"
You can follow the steps that are provided in this question, to ensure that PuTTY uses one of the new host keys of Bitbucket Cloud.
Please feel free to reach out if you have any questions!
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.