i have recently installed a gitlab server on a Fedora Server VM hosted on my computer.
All seem to work but when i try to connect to the gitlab instance with the command ssh firstname.lastname@example.org i get this message : Last login: Sat Apr 22 16:33:11 2023 from ... instead of the Welcome to GitLab, @username! message .
Also when i try to clone a project i have the following error :
fatal: ‘Octodex/mytestproject.git’ does not appear to be a git repository
fatal: Could not read from remote repository.
I have all the rights on the repo. And i have added the generated ssh public key in gitlab.
i don’t know how to resolve these problems.
Thanks in advance for your responses
Just in case Gitlab was installed in Docker, then there is also the chance that the port was not redirected correctly when setting up docker. Also, the docker instance of Gitlab will not listen on port 22, since the host operating system will already have port 22 running for it’s own instance.
But the above depends on whether it was a docker install, or Gitlab Omnibus install, which means installing the Gitlab deb/rpm package.
The ssh reach the VM, because after the ssh command i have the message Last login: Sat Apr 22 16:33:11 2023 from ... and after this message when i write a ls command i can see files that are in the VM. Also when i try the same ssh command from the VM i have the same result.