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

SSH-key i tried to add into bitbucket repo


I tried again to clone on of my private repository.

it does not work this time.

my key is not valid or nonexistent.

I searched for and added a private key on the hard disk.

i addet my private key to SourceTree (private.ppk).

while start cloning one of my repo i got errors.

then inside prophertiey i pasteed the source of this key into the add key dialog.

it says: this key is invalid


funnily enough, but the up and download of another private repository works which also created at the beginning of this year in bitbucket. How is that possible?


here i did a video capure of my last try:



2019-03-27 09_16_58-Sourcetree.png


2019-03-27 09_20_04-Table awaiting Action.png



2019-03-27 09_27_19-Table awaiting Action.png


the problem stays 



2019-03-27 09_22_10-Table awaiting Action.png


3 answers

I was able to generate a public key in another way that has been accepted by bitbucket website.

means not with this tools overed from you in the tray menue.

means used command line window.

then i used some other tool to import. 

please make some changes regarding usability. thanks

0 votes
minnsey Atlassian Team Mar 27, 2019

It looks like the key you are trying to add might be in the wrong format?

Have you tried creating a new test key using the  instructions here?

yes I have created a new one today too. I left the default settings as they are. then I inserted the content of the private key per copy paste in bitbucket. and I get into the same problems

same problem now with the public key.

Comment: "rsa-key-20190328"
bla fo ....


same errors as i showed above insode bitbucket web interface.

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,020 views 5 13
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