It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Hiroshi YOSHIKAWA Nov 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
Renato Rudnicki Atlassian Team Dec 01, 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 

Renato Rudnicki Atlassian Team Dec 01, 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

0 votes
Hiroshi YOSHIKAWA Dec 02, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,946 views 14 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you