Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ssh-agent fails unless Sourcetree is ran as Administrator

Joel Santos March 31, 2022

I'm running the latest versions of Sourcetree 3.4.8.0, Git 2.35.1.2, on Windows 11, with Windows OpenSSH. SourceTree is set to use external GIT and OpenSSH

 

When I open Sourcetree, and every time I close the Options Dialog, I get this error message

 

Screenshot 2022-03-31 171127.png

 

Unless I run Sourcetree as Admin, but obviously is quite annoying to get the UAC every time I run Sourcetree. Is that the intended behaviour?

Using Putty/Pageant doesn't trigger the error (as it doesn't rely in OpenSSH) but there's no difference in running external or embedded Git, both require ST to be run in Admin mode

1 answer

0 votes
Taner Bilir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2024

I ran into this problem and found that it was because my .ssh folder was under a different Windows User.  Accessing the .ssh folder in the other user directory was the issue.  Once I copied the .ssh folder to my current user directory, everything worked as expected.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events