Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Error 'ssh-agent' failed with code -1: System.NullReferenceException

Edited

Hi, I have the latest SourceTree for Windows (version 3.4.8) and using Git standalone version 2.35.1.windows.2. I am using Windows OpenSSH for authentication.

SourceTree gives the following error:Immagine 2022-03-07 122703.png

This happens:

  • - every time SourceTree is opened
  • - every time I close the Tools -> Options window
  • - every time Tools -> Launch SSH agent... is clicked

 

Any idea on how to solve this?

PS: Here is my git configuration on SourceTree Options: Immagine 2022-03-07 123222.png

Update (2022-06-01): this still happens with SourceTree version 3.4.9

Update (2022-10-19): this still happens with SourceTree version 3.4.10. This is frustrating! Time to change git GUI...

Update (2023-09-28): this still happens with SourceTree version 3.4.15.

2 answers

0 votes
Gonzalo Piffaretti
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!
Sep 28, 2023

I have the same issue. Everything works as expected when using git in bash or powershell. Sourcetree is just not playing nicely with OpenSSH.
Also evaluating a change.

I opened an issue in SourceTree for Windows Jira https://jira.atlassian.com/browse/SRCTREEWIN-14297

If you feel like it, you can vote/comment it.

I don't have much faith that it will be considered or even corrected but at least I reported it.

this still happens with SourceTree version 3.4.10. This is frustrating! Time to change git GUI...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events