Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Security between Sourcetree and Bitbucket

tpascal January 26, 2024

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

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 29, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events