How to use GitHub SSH Public Key in Windows

Source: Internet
Author: User
How to install the SSH Public Key on GitHub in Windows 1. Install git from ProgramDirectory to open "Git Bash" 2. type the command: SSH-keygen-t rsa-c "email@email.com" "email@email.com" is GitHub account 3. remind you to enter the key name, such as id_rsa4. two files are generated under c: \ Documents and Settings \ Administrator \: id_rsa and id_rsa.pub5. copy the key file generated in 4 to c: \ Documents ents and Settings \ Administrator \. SSH \ directory. 6. Open the id_rsa.pub file in notepad, copy the content, go to the SSH key management page on the github.com website, add a new public key, take a name, and paste the copied content. 7. The key file generated in step 2 is in the root directory of the current user. You must put the two files in the. Ssh directory of the current user directory to take effect. In Windows, you can only enter a folder starting with "." In the command line. Command: mkdir. SSH

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.