Hi all, my GitLab project refuses to allow me to upload or fetch even though I have SSH keys sorted and matching, I am set as the maintainer of the project, any ideas? Thanks for any help
Hi,
in order to answer this question, we need a little more details about your system and your attempts with git fetch here. First off, please share the version of GitLab. In case it is self-hosted, you can find it via the /help URL.
Then please share the shell output when you’re doing a clone/fetch. Is there anything different to using ssh -vvvv e.g. a connection problem or similar? What exactly means “refuses”?
Cheers,
Michael
GitLab Enterprise Edition 12.6.0-pre f4cc00ae823
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘https://gitlab.com/TangledRays/felicity-remote.git/’
Thank you for helping
Hi,
so you are cloning/fetching with HTTPS instead of SSH. There’s two options here:
- Pass the correct basic auth credentials and leave the origin to https
- Change the local git configuration for the repository in
.git/config
-origin
and adopt the git clone URL togit@....
.
Cheers,
Michael