Hello, I’m going to explain all steps that made it.
- Create a project
- Add Deploy Key (SSH id_rsa.pub) in the main server
- Try to clone:
[example@foo]$ git clone email@example.com:project.git Cloning into 'project'... remote: remote: ======================================================================== remote: remote: The project you were looking for could not be found or you don't have permission to view it. remote: remote: ======================================================================== remote: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
- Test SSH connection to:
ssh -T -v firstname.lastname@example.org Welcome to GitLab, Anonymous!
/var/opt/gitlab/.ssh/authorized_keysif SSH is correct. Yes, It’s showed inside of this file.
What Am I wrong? Why cannot clone the repository?