Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Strange error after setting up ssh from windows

I did everything described here for my bitbucket repo:


I got this inscrutable error when I tried to use sourcetree to do a test pull.  What to do next?

HG problems.jpg


1 answer

0 votes

Hello @joymaker3,

I'm not absolutely sure but it looks like the main issue here is Host key verification failed message, and that error might be causing the rest of reported issues.

This error generally means that the host key of the remote host was changed, however Bitbucket hasn't been updating any SSH keys for a long time, so there's likely something else in your setup that is causing the error.

For instance, you might have had some custom configuration of SSH client or hosts file. Unfortunately, it's hard to guess without additional information.

What you can check is Sourcetree log file – it might give a hint what hostname did Sourcetree try to reach. On Windows the log file resides here:


The easiest would probably be to clear that file, then reproduce the error and check it again right after that.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,274 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you