A project placed on gitlab
When I use the git@... address of the ssh protocol to pull the code, it prompts:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
It can be pulled using http protocol,
My ssh public key file has been configured and can be used
Host XXX.com
HostName XXX.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
The code can be pulled now, but I don’t know what the problem is?