Connecting Stash Repository with Fish Eye

Hello,

I created a repository in Stash and traing to connect it to Fish Eye with no success so far.

1. What is the repository location that I need to set in the Page 2 of "Add Repository"

At the moment I'm using:

ssh://fisheye@dev.website.com/stash/scm/prj/project.git

2. I'm surprised that there is no UI in FishEye to connect to the "Stash" repository even though I linked both products.

3. Here are the other settings I used.

Here as you can see I used the fisheye user that I created and used to install fisheye.

I used also Generate key pair for ssh,

Copied the "public key" and placed it in

/home/fisheye/.ssh folder under the name project.pub

When I "test connection" I get the following error:

Fisheye is using '/usr/bin/ssh' to authenticate with SSH authenticated repositories.

Error testing connection.
Error talking to repository:

Warning: Identity file /opt/atlassian/fisheye/data/auth/a4385aae-4452-42c3-bdb5-9b376f500846 not accessible: No such file or directory.
Permission denied (publickey).

fatal: Could not read from remote repository.

Any help will be highly appreciated.

Thank you,

T.

1 answer

The first link describes the FishEye side and assumes we have a "http password" but I have not found how to configure it in Stash. The second one is a generic git or Hg configuration guide. The issue is that setting ssh keys in Stash/Fisheye does not work. I get this error:

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: connect to host mcteamcity port 22: Bad file number
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:148)
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:442)
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Connection failed.

I got the same problem.. Have you solved it or it is unsolvable? Thanks

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,762 views 1 5
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