0
Even if you correctly set an RSA-type SSH key, as described in:
GIT LAB SSH, I did several tests and added a file config:
Host gitlab.com
Hostname gitlab.com
IdentityFile ~/.ssh/gitlab
I got it in my briefcase .SSH:
config id_rsa id_rsa.pub known_hosts
I have tested several solutions, but for any external access command I receive as response the error:
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
You have placed this specific key in your gitlab account?
– Jefferson Quesado
I even checked to see if it was correct, and I did it twice and nothing helped.
– Matheus Ribeiro
Along that line of
config
==>IdentityFile ~/.ssh/gitlab
, you are teaching thessh
that your identity for gitlab is the archivegitlab
inside the briefcase.ssh
. I’ve never seen this file before. I don’t think you’re using multiple identities, so I think it’s better remove that file.– Jefferson Quesado
even withdrawing it, still not working, I had put by indication of other people inside a gitlab Issue
– Matheus Ribeiro
Are you sure you moved up the file
id_rsa.pub
? A common mistake is to raise the private key instead of the public key. If it is not that, then my options have run out, I would try to change tohttps
to communicate with the appropriate repository and delegate the option to change prossh
to the me of the future.– Jefferson Quesado
Unfortunately I have,. :/
– Matheus Ribeiro