The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

'ssh-agent' error code -1

WOOHYEOK CHOI
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 25, 2023

image.pngimage.png

If you set the ssh client to open ssh in the tool as above, the following error occurs.
What should I do?

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
August 31, 2026

Hi @WOOHYEOK CHOI

I would check the key path first. That error usually means Sourcetree cannot find a valid key at C:\Users\woohyeok.choi.ssh\id_rsa, so its bundled ssh-agent starts with nothing and throws a null reference. I would open that folder and confirm that both id_rsa and id_rsa.pub actually exist; if not, generate a new pair and point Sourcetree to the new private key.

Cheers, Martin

TAGS
AUG Leaders

Atlassian Community Events