Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

SSH Authentication Failed


I have been serching for solution of this problem, but I don't find something helpful. This problem is here for like 5 years and still doesn't have a solution.

The problem appears randomly (for example I use sourcetree for 1 hour without problem - switching branches, pushing, pulling... -, then I want to switch the branch and boom, error). After PC restart everything works fine.  


I have already tried generating new ssh keys, that solved my problem for like 2 weeks. It's really exhausting to restart pc or generate new keys.

I am on version

Is there anything I am doing wrong?

Thanks for your help.

1 answer

0 votes
Mike Corsaro Atlassian Team Jun 14, 2019


Have you tried switching to using PuTTY/Plink for SSH rather than OpenSSH? You can change it by going to "Options > General > SSH Client". I've found PuTTY to be more stable on Windows and easier to use as well.

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,721 views 134 29
Read article

Atlassian Community Events