Can clone via https but not via ssh only for new repositories
Hello,
Summary
For all my new repositories, we can't clone a repository by ssh (even with the same user that can acces other old repositories)
Steps to reproduce
Cloning via ssh doesn't work : git clone git@gitlab.com:XXXX/XXXXX.git test_folder : The project you were looking for could not be found. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Cloning via https work : git clone https://gitlab.com/XXXX/XXXXX.git test_folder : Cloning into 'test_new_user'... Username for 'https://gitlab.com':
Example Project
I have also tried to create a new user (Generate new ssh keys for him) and a test project : git@gitlab.com:NGI_Oreca/test_new_user.git Results are the same
What is the current bug behavior?
The clone commande (or ls-remote) return that the project cannot be found
What is the expected correct behavior?
Should clone the repository
Don't hesitate to ask more informations. Sorry for my bad english
Best regards.