'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.()

などと表示されます。

確かにそのパスには、ssh-agent.exeはありませんので当然かと思います。

なにか対処方法はありませんか?

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

です。以前にちがうマシンでやっていたのは、SourceTreeSetup_1.6.4.exeなのですが、

問題ありません。ただし、内蔵GITのバージョンが、1.95です。

一方不具合のあるマシンは、2.6.1です。

 

2 answers

This widget could not be displayed.

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

This widget could not be displayed.

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

but same error occurs.

また、Putty/Plinkを使っても、いままで接続できていた社内のGitlabサーバーから

Cloneできません。(ソースを確認中...で止まります)

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

862 views 2 3
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