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

Add a public SSH key to SourceTree

Hello forum,

I have an SSH public key in the format:

ssh-rsa XYZ rsa-key-2020-03-29

where XYZ is a long string (I assume the key itself). I have no clue how to insert this key into SourceTree. When I try to use the PuTTY generator, it asks for a file to import, not a string or text.

Could someone help me with this?


1 answer

My suggestion is to create a file (e.g. and save it somewhere on your PC. But from what I recall SourceTree actually is looking for your private key to import. That should be stored on your pc - if not use the keygen and save it, then you can import it.

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...

79,091 views 135 29
Read article

Atlassian Community Events