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

Connecting Stash Repository with Fish Eye

Tsvetan Tsvetanov July 8, 2013

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

1 vote
Gurleen Anand [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2013
Alexey Zimarev January 29, 2014

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.

Cindy Wang April 7, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events