Steps to generate native SSH Key using Git and add it to GitHub
This article introduces the relevant knowledge of "using Git to generate native SSH Key and add it to GitHub". In the operation of actual cases, many people will encounter this dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Use Git to generate native SSH Key and add it to GitHub
The local repository and github are encrypted through SSH, so you need to add your native SSH Key to github for authentication.
1. Open the git command window on the desktop
Enter "ssh-keygen-t rsa-C youremail@example.com"
2. Enter to confirm that it is generated by default in the home directory of the user currently logged in to win.
3. Enter for 3 times in a row, set an empty password by default, and create a key
4. Copy the content and add a new SSH Ke to github
Finally, we can play happily.
That's all for "the steps to generate native SSH Key using Git and add it to GitHub". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!