Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

SourceTree on Windows keeps showing "authentication via ssh keys failed"

I am using the latest Version of SourceTree on Windows. 

- At PuTTY Key Generator dialog box, I click Load button to load my Git SSH key -> Save private Key.

- I then do right-click on Pageant on system tray to Add key. It was successfully added. 

After that I can work with sourceTree, like pull, push, etc.

But when ever I restart SourceTree, the SSH keys seems lost, and I have to repeat this process again. 

Is there anyway to add a SSH key permanently? Thanks

1 answer

0 votes
Ana Retamal Atlassian Team Oct 27, 2017

Hi Louis, do you have any keys loaded in your agent when you reboot your computer? You can check that using the command  

ssh-add -l

You can also try pushing or pulling using the command line right when you restart your computer and see if you get the same error. In that case the error won't be with Sourcetree btu with the SSH keys not being properly stored in your pc.

Let us know!


Hi Ana, thanks for our reply. To answer your question: no, unfortunately, everytime I reboot my computer and SourceTree, there is no keys loaded in Pageant, even though it was there before.

The thing is, I still can pull, push, and everything with Git Bash. That means, SSH Keys is stored properly in my PC, isn't it. 

Suggest an answer

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

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

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