OpenSSH Authentication fails when Visual Studio is running

Hey there,

I'm using the latest SourceTree (Standalone, no plugin) and Visual Studio 2015. I'm not able to stage files or commit while Visual Studio is running. The error says: "The OpenSSH agent is running but the server still rejected your connection. You may need to add the correct key to your agent... ". Using the terminal (git add *) works fine, so this seems to be a problem of SourceTree. After closing Visual Studio everything works, too.

Thanks for looking into this. By the way, I'm able to reproduce this behaviour on three machines.


1 answer

This widget could not be displayed.

Seems to work after the update yesterday. Now the UI of the "File Status"-Page is not updated after a commit. Files are still in the "staged" list. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

876 views 2 3
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