A
A
Alex Wells2017-02-08 22:26:49
git
Alex Wells, 2017-02-08 22:26:49

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

1 answer(s)
A
aol-nnov, 2017-02-08
@aol-nnov

tynts (this is if you are not deceiving us about the keys)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question