Gitlab ssh clone not working. fatal: Could not read from remote repository.
Gitlab ssh clone not working. Ensure that your SSH key format is compatible with your server OS configuration. Please make sure you have the correct access rights and the repository exists. Ensure that you generated your SSH key pair correctly and added the public SSH key to your GitLab profile. Jul 31, 2023 · This article describes how to fix the issue of being unable to git clone from GitLab. Jan 26, 2020 · Also i've tried to clone some projects from my GitLab with command: git clone ssh://user@some-gitlab-url/some-project. My lazy ‘solution’ to this was to transplant the git-related lines from /etc/passwd on the origin server onto my new server. Nov 21, 2015 · As the title states, I can't clone a repository from a Gitlab 6 server even though the ssh seems to work. Could anyone, please, help me with the issue? Many users have faced the same problem: after adding their public SSH RSA key to their GitLab profile, they find that the cloning operation fails with a "could not read from remote You should set up Gitlab to expose Gitlab Shell on a different port. If you instead want Gitlab Shell to be on port 22 (e. git But i've got the error: Permission denied (publickey). When trying to clone, it looks like this: Jul 20, 2025 · The issue came from some issues that I had with GitLab not creating a user account during migration. , you like the nicer URLs without explicit port numbers), you have to move sshd to a different port. fatal: Could not read from remote repository. g. kyjysoskdhbfjfclzcbrtmtlbnpythwgiacoqtxhhczkjzcda