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

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

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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

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