Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Steps to generate native SSH Key using Git and add it to GitHub

Shulou Source: shulou.com Published: 2022-06-02 07:50:33 10月04日 Update

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!

Tags: Native machine generation content steps more knowledge practicality learning next between warehouse command dilemma actual password situation article case desktop user Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn Redmi Shulou Information Apple