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

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

Hiroshi YOSHIKAWA November 30, 2015

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

0 votes
Hiroshi YOSHIKAWA December 2, 2015

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

but same error occurs.

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

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

 

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 1, 2015

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 

rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 1, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events