Git Build SSH Key step

Source: Internet
Author: User

First, set up Git's user name and email:

$ git config--global user.name "xxxx"
$ git config--global user.email "[Email protected]"

Second, the process of generating SSH key:
1. See if you already have an SSH key: CD ~/.ssh
If there is no key then there will be no such folder, there is a backup to delete
2. Survival key:

$ ssh-keygen-t rsa-c "[Email protected]"

Press 3 to enter, the password is empty.


Your identification has been saved In/home/tekkub/.ssh/id_rsa.
Your public key has been saved in/home/tekkub/.ssh/id_rsa.pub.
The key fingerprint is:
..................

Get two files: Id_rsa and Id_rsa.pub

3. Add the encryption key to the Ssh:ssh-add file name
4. Add the SSH key to GitHub and add the public key to "Id_rsa.pub".

Git Generate SSH key step (GO)

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.