Windows Gitlab configuration generates SSH key

Source: Internet
Author: User

git-1.9.5-preview20141217
1. Install git and open "Git Bash" from the program directory
2. Type the command: ssh-keygen-t rsa-c "[Email protected]"
"[Email protected]" is Gitlab account
3. Remind you to enter the name of the key, such as Id_rsa
4. Generate two files under C:\Users\Administrator\.ssh: Id_rsa and Id_rsa.pub
5. Open the Id_rsa.pub file with Notepad, copy the content, on the gitlab.com website to SSH Key Management page, add a new public key, just take a name, paste the contents of the copy.
6. ^_^ OK.

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

Windows Gitlab configuration generates SSH key

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.