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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

33 views 0 4
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