davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

SSH access rights fails #487

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a new reposity and push in some code
2. copy "git clone ssh" command  from GUI
3. paste the command into a shell and execute

What is the expected output? What do you see instead?
I expect the repository to be cloned.
But instead get a "fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists." 
message

Strangely, a ssh request is OK and a "git clone https" is also successful (so I 
guess it isn't a problem of access rights).

What version of the product are you using? On what operating system?
1.6 WAR / linux redhat / tomcat 6

Please provide any additional information below.
This is a session transcripts (just changed the server name):

user1@MyPC ~/test
$ ssh -l user1 -p 29418 git.local keys list
Password authentication
Password:
╔═══╤═════════════╤═══════��
�═╤════════════╤══════╗
║ # │ Fingerprint │ Comment │ Permission │ Type ║
╠═══╧═════════════╧═══════��
�═╧════════════╧══════╣
║ (empty)                                       ║
╚═════════════════════════��
�═════════════════════╝

user1@MyPC ~/test
$ git clone ssh://user1@git.local:29418/test/installtes
t.git
Cloning into 'installtest'...
fatal: Could not read from remote repository.

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

user1@MyPC ~/test
$ git clone https://user1@git.local:8443/gitblit/r/test/installtest.git
Cloning into 'installtest'...
Password for 'https://user1@git.local:8443':
remote: Counting objects: 13, done
remote: Finding sources: 100% (13/13)
remote: Getting sizes: 100% (10/10)
remote: Total 13 (delta 0), reused 13 (delta 0)
Unpacking objects: 100% (13/13), done.
Checking connectivity... done.

Original issue reported on code.google.com by renaud.m...@gmail.com on 19 Aug 2014 at 1:13