How to generate github ssh public key GIT under win7

1. To install git, you can go to the official website to download the latest version, but due to the local area network problem, we can use Baidu git, and the general version is relatively new;
2. All the way to the next step by default, after the installation is successful, open "Git Bash" from the program directory;
3 . Enter the command: ssh-keygen -t rsa -C "[email protected]", press Enter ("[email protected]" is the github account);
4. Remind to enter the name of the key, such as id_rsa, etc., we can Type three carriage returns, the default configuration;
5. Generate two files under C:\Users\Administrator\.ssh: id_rsa and id_rsa.pub;
6. Open the id_rsa.pub file with an editor, copy the content, and put it in github Go to the ssh key management page on the .com website and add a new public key.





Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326565332&siteId=291194637