FishEye not working with git and ssh


I have FishEye 2.7.4 and msysgit 1.7.4 installed on a Windows 2003 x64 server. I have been using it successfully to index a remote repository that was available via Windows file sharing -- e.g. file:////server/repo.git -- however I'm trying to move the remote to a Linux server and make it available via ssh. The new URL would be ssh://newserver/home/gitssh/repo.git for example.

I have a key pair that I know works and has no passphrase, and I've tried two ways to get it to work in FishEye:

1. I placed the keys in C:\Documents and Settings\username\.ssh (where username is the account under which FishEye is running as a service via SRVANY). In the web interface I choose "no authentication" figuring that the system should just find the key. Clicking "test connection" causes FishEye to hang for a 15-30 seconds and then fail with the following error:

Error testing connection.
Error talking to repository:

Connection failed.

It also results in a stray "ssh.exe" process, which leads me to believe FishEye just isn't finding the private key where I'd expect it to look.

2. I uploaded the private key using FishEye's web interface. Clicking "test connection" causes the following error almost immediately:

Fisheye is using 'C:\Program Files (x86)\Git\bin\ssh.exe' to authenticate with SSH authenticated repositories.

Error testing connection.
Error talking to repository:

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
fatal: The remote end hung up unexpectedly

Connection failed.

This leads me to believe something is misconfigured with my path or with ssh itself, but I couldn't find anything obviously wrong.

In both cases, I've tried the ssh URL with and without username@ before the hostname. Any suggestions, either for placing the key in the right location, or for setting up the path to ssh.exe properly, or for anything else I'm missing, would be greatly appreciated.



1 answer

Updating to msysGit appears to have solved the problem.

Suggest an answer

Log in or Join to answer
Community showcase
Davin Studer
Published yesterday in Confluence

FUME – A Better Confluence User Macro Editor Experience

...\\.title', editorDiv: 'userMacroEditorDiv', isNew: function(){ return AJS.$('#user-macro-form').prop('name') == 'addusermacro' ? true : false; }, editor: null, isDirty...

28 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot