Answer the question
In order to leave comments, you need to log in
How to enable ssh key for github?
In the .ssh/ folder, I generated two files ssh-keygen -t rsa
I set the name git_rsa, as a result, two files appeared git_rsa and git_rsa.pub
In the .ssh folder, I created a config file, wrote it there
Host github.com
IdentityFile ~/.ssh/git_rsa
git remote add origin https://github.com/seriiserii825/test.site.git
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question