C
C
centrin02016-02-08 11:25:49
GitHub
centrin0, 2016-02-08 11:25:49

How to authorize by key for a third-party project with github?

Hello.
There is a key. The public part of the key has been added to the github account.
I clone the project from github. Requests username/password.
I make a commit, send it to the server. Again it asks for the username and password from the account.
How to log in by key so as not to constantly enter the login and password from the account?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2016-02-08
@centrin0

clone repo by ssh link not https link
bA2Isy0UTTmSYEDMFB3S
or change for already cloned https://help.github.com/articles/changing-a-remote...

A
Artem Gribkov, 2016-02-08
@L1Qu0R

Try
ssh-add ~/.ssh/id_rsa

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question