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.
Hi Tsvetan,
You may find these guides helpful:
http://blogs.atlassian.com/2012/07/linking-your-stash-git-repositories-to-crucible-for-code-reviews/
https://confluence.atlassian.com/display/FISHEYE/Authentication
Thanks,
Gurleen
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got the same problem.. Have you solved it or it is unsolvable? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.