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
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.