R
R
Robin Alikhanov2021-03-06 13:51:07
GitLab
Robin Alikhanov, 2021-03-06 13:51:07

How to clone a private repository from gitlab?

I am working with Gitlab for the first time, before that there were no such problems with GitHub.
there is a clone command

git clone [email protected]:sqsqsqsqs/sqsqsqsqsq-dev.git ~/sqsqsqsq-dev


I run on Windows as an administrator and try to clone and in response I get

[email protected]: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.      

Please make sure you have the correct access rights
and the repository exists.


The owner gave me access to the repository and I can download it in zip format, but why can't I download it like this,
do I need ssh keys? It seems that I also logged in to Gitlab through GitHub.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Romses Panagiotis, 2021-03-09
@romesses

ssh keys are needed?
They are the most needed.
Generate an SSH key locally and enter the public part in the web interface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question