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

SourceTree hangs when pushing unless I re-add my ssh key

taji34 Jan 06, 2015

Every time I close and re-open SourceTree it hangs when I try to push commits, this being all the farther it gets:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master
Pushing to git@taji34:taji34/Troncraft.git

The only thing that fixes the problem is re-adding my ssh key, then everything works until the next time I close it. I'm using OpenSSH, is this a known problem and/or does it have a solution? If not I can live with it, it's just a tad bit annoying.

4 answers

0 votes
Balazs Szakmary Jan 06, 2015

The push address seems to have a password in it.

0 votes
Balazs Szakmary Jan 06, 2015

Do you have Tools\Options\Automatically start SSH agent... switched on? If not, it probably hangs because OpenSSH in not running when you push.

taji34 Jan 07, 2015

Yes it is checked, but it's greyed out, so I don't think that is an option for OpenSSH.

Balazs Szakmary Jan 07, 2015

Could you check if OpenSSH is actually running when you push?

taji34 Jan 09, 2015

Is there an easy way to check that?

Balazs Szakmary Jan 11, 2015

Task Manager?

0 votes
taji34 Jan 07, 2015

Only my account is allowed to push to that repository. But I'm not having issues there, since I am able to push, it just seems that OpenSSH forgets that my SSH keys exist or something, so I have to re-add them everytime.

0 votes
Mark Gibson Jan 29, 2016

I've been experience this (or a similar) problem, SourceTree hangs at this same point, although the push is successful. I never experience a problem doing a regular git push from a shell though.

I'll keep you updated if I discover anything more.

Doh, i've just realised this question is over a year old, did you find a solution?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
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...

465 views 0 9
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