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
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,942 views 0 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