Answer the question
In order to leave comments, you need to log in
Why can't I connect to git via ssh?
Hello. I recently tried to upload my project to git, but it gave me an error:
"Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists."
Accordingly, after reading, I got into GitGUI, generated a new ssh key and added it to gitlab. After that, the project started right away.
Now I'm writing another one, I'm pushing - it won't let me in with the same error. I check the ssh key - in place. I check on gitlab - on the spot. I check them, I try to copy and paste again - it says that there is already one.
And with all this, I just successfully pushed into the first project ..
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question