Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Need to insert new SSH keys each day

Something strange is going on with my Sourcetree. Each day I need to generate new ssh keys otherwise I get 'permission denied' error. I need to manually delete the old ones from the ssh folder on my mac because if I just copy the old one and try to insert it again in bitbucket I get 'key already exists' error so it's not the key that it doesn't match but it's something else. 

1 answer

0 votes
bgannin Atlassian Team Dec 28, 2017

What version of Sourcetree are you using?

What OS are you running?

What is the output of ssh-add -l (does it contain the identities you expect)?

  • I am using the latest 2.6.3 version of Sourcetree
  • Running macOS High Sierra 10.13.2
  • That command returns: The agent has no identities.

I noticed that the problem happens once I close Sourcetree and then open it again. This is the error I get:

Screen Shot 2017-12-28 at 22.10.04.png

And then I check this:

Screen Shot 2017-12-28 at 22.11.02.png

I click copy to clipboard and then go to integrations> ssh in bitbucket and after I try to insert the key I get this:

Screen Shot 2017-12-28 at 22.11.51.png

So if I try to enter the key again I get that message so everything is ok with my key, nothing is modifying it.

To be able to fix this I need to manually remove the key from my ssh folder, generate new one and then add it to bitbucket. After that it works, until I close Sourcetree, and then again.

Like yevgenii likes this

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

3,401 views 4 5
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