T
T
turbolizard2017-02-01 10:31:28
git
turbolizard, 2017-02-01 10:31:28

How to connect to a remote repository?

Good afternoon dear friends.
There is a remote git repository.
After moving to a new system, git stopped cloning repositories, asking for a password.
I got private and public ssh keys from the previous system, but how do I add them to git?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
i, 2017-04-28
@ilyarsoftware

It is necessary to place the private and public keys (from the previous system) in a folder ~/.sshand set the correct access rights:
chmod 400 ~/.ssh/id_rsa*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question