'ssh-agent' がコード -1 で終了しました

Q1 OPEN SSHを使う設定にすると

System.Exception: Unable to to start 'C:\Users\h.yoshikawa\AppData\Local\Atlassian\SourceTree\git_local\bin\ssh-agent.exe' check the git installation.()




インストールしたのは本日ダウンロードした SourceTreeSetup_1.6.24.exe





2 answers

0 votes

Hi Hiroshi, 

Looks like SourceTree is looking for ssh on Git Embedded while you are using a System Git. For testing purposes, can you try to change for Embedded Git? You can do this going to SourceTree Menu -> Preferences - Git. 

Your issue looks very similar from this answer I've replied sometime ago: https://answers.atlassian.com/questions/32519165

Another factor that might causing this issue is some antivirus or firewall blocking the ssh-agent. Please check this as well.

In case you still face issues, please feel free to raise a ticket with SourceTree Support: https://support.atlassian.com/servicedesk/customer/portal/1


Kindly regards, 
Renato Rudnicki 

Hi Hiroshi, I just realised you might facing this ST bug: https://jira.atlassian.com/browse/SRCTREEWIN-3944 One workaround is you download to version 1.6.23

I tried 1.6.23,1.6.25 And Askpass.exe.config.

but same error occurs.




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,231 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