Unable to pull from a git repository (SourceTree Windows)

I've added an existing git repository to SourceTree in Windows and when trying to pull I (and everyone else on the team) is getting the following error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin

fatal: The remote end hung up unexpectedly

Completed with errors, see above.

Commands work prefectly well in Git Bash so I know we have authentication set up correctly according to the git command line.

If I try to do a fresh clone of the respository, the Repository Type just displays "This is not a valid source path / URL" and the Details button just displays "fatal: The remote end hung up unexpectedly"

SourceTree on Mac works fine with this repository so I'm assuming its an issue with our SSH validation?

Any help would be appreciated as no-one on the team is currently able to use SourceTree for Windows.


1 answer

1 accepted

SourceTree for Windows currently only supports key-based validation via the PuTTY suite of Windows-native SSH tools. If your existing setup is using the Unix-style OpenSSH then this won't natively be supported yet. We hope to support both styles in future but picked Pageant initially because it was Windows-native and established via the Tortoise tools for over a decade.

Please see the FAQ 'How do I set up SSH keys for authentication?' section about how to set up your keys in SourceTree - you can import OpenSSH keys into PuTTY easily enough and use the tray-based agent Pageant to keep them in memory.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

373 views 6 16
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot