Open
Description
Originally reported on Google Code with ID 487
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://[email protected]: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://[email protected]:8443/gitblit/r/test/installtest.git
Cloning into 'installtest'...
Password for 'https://[email protected]: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.
Reported by renaud.meurisse
on 2014-08-19 13:13:20