I use the git GUI, download and install
1. Go to the Operation directory and open "Git Bash" 2. Type the command: Ssh-keygen-t rsa-c "own registered mailbox" 3. Remind you to enter the name of the key, 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 into the C:\Documents and settings\administrator\.ssh\ directory. 6. Open the Id_rsa.pub file with Notepad, copy the content, on the github.com website to SSH Key Management page, add a new public key, just take a name, paste the contents of the copy. Note that the key file generated in step 2 is in the root directory of the current user and must be placed in the ". SSH" Directory of the current user directory to take effect. You can only enter create "." On the command line in Windows. The beginning of the folder. The command is mkdir. SSH
GitHub generates a public key