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

Your Points Tracker
Challenges
Leaderboard
  • 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
Recognition
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?
Kudos
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

Authentication via SSH keys failed

Just installed Sourcetree 3.3.8

I followed these directions for linking to my bitbucket account.

https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html

I opened a repo on disk that I had already previously cloned using exist SSH keys I setup a long time ago in bitbucket.

Any time I try to push or pull I get this dialog.

Why is sourcetree popping this up? I already have valid SSH keys.. There should be zero problems performing operations repos I've already cloned.

image.png

1 answer

1 accepted

Wow this app is hot-garbage.

So you have to:

  1. Generate a new SSH key using PuTTY
  2. Run through a bunch of unnecessary hoops (https://confluence.atlassian.com/sourcetreekb/generate-and-load-ssh-keys-into-sourcetree-with-putty-790629663.html) to save the public and private keys to disk.
  3. Go to your bitbucket account and add the public key, but the one displayed in PuTTY - if you try to open the .pub from disk and paste that it will fail with "Invalid key".
  4. Then you have to double click the Pageant app from your system tray and add the key you just created. 
  5. image.png

 

Not enough steps Atlassian. Add at least 10 more. l33t fails..

Why this app cannot connect using existing standard SSH keys, which are already added to bitbucket and being used by the git CLI, is ridiculous.

That sounds like your keys were messed up somehow since that process basically describes a basic SSH key pair setup: Generate keys, provide public key to end host, configure applications to use private key.

I'd check your public key and known_hosts for changes in IP or hostname since this can cause a common SSH authentication issue.

This works, but after a while I need to re-do it again.  Just for fun's sake I guess.  I had to re-set it the 4th time today.

Suggest an answer

Log in or Sign up to answer
TAGS
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,251 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