Attempting to Connect to Stash from Crucible
Asked by Josh Whitehurst:

In our environment I have a simple installation of JIRA / Stash / Crucible.

I've been able to get JIRA / Stash and JIRA / Crucible flow to work just fine. I'm stumped trying to get Crucible to properly retrieve the repositories stored in Stash. The application link gets set up between the two without issue. The problem arises after the repository is added from the Stash repositories tab. The repository never seems to sync. When going into the properties of the repository and clicking on the "Test Connection" button I receive the following error:

* \<button class="item-button"\> Contents\</button\>

Could not find SSH binary on the system path. See [https://confluence.atlassian.com/display/FISHEYE/Authentication\<br\< a=""\>\>
Error testing connection.
Could not find SSH binary on the system path. See](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)[https://confluence.atlassian.com/display/FISHEYE/Authentication\<br\< a=""\>\>at com.atlassian.guava.base.Preconditions.checkNotNull(Preconditions.java:209)
at com.atlassian.fecru.security.SshWrapper.\<init\>(SshWrapper.java:18)
at com.atlassian.fisheye.dvcs.DvcsScmConfig.createProcessBuilder(DvcsScmConfig.java:172)
at com.atlassian.fisheye.git.GitScmConfig.createProcessBuilder(GitScmConfig.java:132)
at com.atlassian.fisheye.dvcs.DvcsScmConfig.executeCommand(DvcsScmConfig.java:179)
Connection failed.](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)
[I've searched around, but haven't found a solid resource on the issue. Can you provide further details on how to resolve this issue? Where is the path of the SSH binary that fisheye/crucible is using?
Thanks,
Josh](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)
[](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)
[](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)
[](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)
[](https://confluence.atlassian.com/display/FISHEYE/Authentication%3Cbr)


Answers:
author: rstephens
body: Hi Josh,

On Windows, you need to have an OpenSSH binary accessible on your system path for FishEye to clone repositories over SSH. The easiest way to acheive this is to select the "Use Git and optional Unix tools from the Windows Commond Prompt" option when installing Msysgit, as shown in this screenshot.

-Richard

Git_Setup_2014-07-17_15-06-00_2014-07-17_15-06-58.jpg  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Attempting-to-Connect-to-Stash-from-Crucible/qaq-p/188474?attachment-id=7459){#link_115c09613246e4}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/2516/1/Git_Setup_2014-07-17_15-06-00_2014-07-17_15-06-58.jpg){#display_115c09613246e4_0}

comments: author: Josh Whitehurst
body: Richard,

That worked great. Instead of running through the installer, I manually edited the environment path variable based the documentation of Git installation. The following correspond to the three items above:

Use Git from Git Bash Only: No modification to Path

Use Git from the Windows Command Prompt: C:\\program files (x86)\\Git\\cmd

Use Git and optional UInix tools...: C:\\program files (x86)\\Git\\bin

Thanks,

Josh


author: Michael Averto
body: This worked for me. Don't forget to restart fisheye/crucible.


author: Arve Systad
body: Adding the path to the git bin folder to path manually worked for me too.