Create
cancel
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

Pushing to remote in Sourcetree failing but succeeding with

I have a repository that uses 3 remotes. One is the managed remote hosted at bitbucket (origin). No problems with this one.

The second and third are remotes used for staging and production deployment at my hosting provider. When I installed a new version of sourcetree for MacOS (2.7 I believe?) pushing to these other two remotes began failing.

 

I suspect this has to do with the way sourcetree prompts for the passphrase for my private key (it doesn't), because I can push using system git from the command line (which sourcetree is also using) using the same command copied and pasted from the sourcetree's console window invoked from the push to repository dialog box, and this works fine. Pushing from my IDE also works fine. Only sourcetree is failing.

Any ideas? If it is, as I suspect, an issue of prompting me for my passphrase (or rather, the fact that sourcetree is not doing so), is there any way to force this to happen again?

Screen Shot 2018-02-11 at 5.28.49 PM.pngScreen Shot 2018-02-11 at 5.29.56 PM.png

1 answer

1 accepted

0 votes
Answer accepted
Manju Atlassian Team Feb 12, 2018

Can you please check if your ssh keys are loaded to the ssh agent on your mac? If they are not loaded, please load them to the agent. You can run below commands in terminal to setup keys

Check for keys in agent using 

ssh-add -l

Add Keys using 

ssh-add <path_to_key>

like,

ssh-add ~/.ssh/id_rsa

 

Thanks! 

that did it, i didn't know sourcetree was using the ssh agent! thank you very much!

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,999 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