P
P
photosho2019-09-20 10:57:41
git
photosho, 2019-09-20 10:57:41

How to clone git without using a password?

Hello. Git is located on its own server (server on beget), there is the following data:
username - login from FTP (ssh support, root access enabled)
password - password
myserver.beget.tech - server address
git/public_html/git - folder with the repository in the root server
I set the address to connect to the remote repository like this:

git remote set-url origin [email protected]:git/public_html/git

I clone the repository on the local computer like this:
git clone [email protected]:git/public_html/git

Everything is fine, the connection and cloning are successful, however, the console constantly requires you to enter a password. To configure access without a password, I used RSA keys, when connecting via PuTTY I specified a file with a private key, and the program connects without a password.
I'm interested in the question: how to give the ability to connect without a password using the usual Windows console (after all, with the help of it I clone the repository on the local computer).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question