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

How to connect to BitBucket from FishEye?

I'd like to use FishEye / Crucible over our BitBucket repository but the connection is simply not working. What I have done:

  1. Installed Crucible with FishEye evaluation
  2. I run the whole thing as a Windows service
  3. I went to admistritation, clicked Add existing repository, selected Git, then enter URL of my private repository like ssh://
  4. I've selected "generate key pair for SSH" as an authentication method, clicked Generate and copied the public key to my BitBucket account

Now when I click "test connectino", I get this:

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

Error testing connection.
Error talking to repository:

ssh.exe": no address associated with name
fatal: The remote end hung up unexpectedly

at com.atlassian.fisheye.git.GitScmConfig.testConnection(
at com.cenqua.fisheye.RepositoryConfig.testConnection(
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

Connection failed.

What does this mean? if that's of any importanct, the generated public key ends with "MyProject on FishEye at", not an email address as usual. Can it be the issue? If so, what do I change so that the generated key contains an email address? Or is it some other problem?

5 answers

1 accepted

0 votes
Answer accepted

According to this page, SSH URL as provided by BitBucket is not one of the supported formats, or it may be that this line from the documentation applies:

FishEye does not directly support the ssh protocol for Git repositories. To use ssh, launch FishEye within the context of ssh-agent, to which the appropriate ssh keys have been added.

So at the moment, one has to use HTTPS.

FishEye's UI should be updated to reflect this reality, IMO.

Hi guys,

For the record, you can use the SSH link shown at the top of your bitbucket repo HOWEVER, you will still require Git to be installed on the server for the request to work. (I am adding this here as I always seem to forget this step when re-deploying). 

So, you should end up with something like this.


If you forgot git it will say ssh is invalid or fails. 

FishEye_and_Crucible__Administration.png Just make sure you have also added the Private Key pair to your bit bucket account, which can be found under the repo<companyName>/<repoName>/admin/deploy-keys

Is the server running FishEye capable of pinging Could you try and tell what happens?


It appears that FishEye can't connect to BitBucket's SSH URL, I had to use HTTPS.

Borek Bernard, How did you do this? Because when I try and use https link FishEye says, "You must not use http(s) with SSH key authentication, use ssh instead" and none of the other authentication methods are working to conenct to BitBucket.

Same problem here... did you find a solution?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,081 views 4 22
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