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

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

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

5,792 views 4 12
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