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

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 Oct 23, 2018 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...

1,235 views 4 2
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