Hexo quick configuration after reloading system

Source: Internet
Author: User

Installation Preparation software
    • node. js
    • Git
Open the Git Bashhexo folder, right: Configure SSH keys to check SSH keys settings, look at the computer's existing SSH key
ssh Check the SSH key of this machine

If prompted:

file or directory

Description is the first time you use Git

To generate a new SSH Key:

Ssh-keygen " e-mail address @youremail.com " #-c uppercase, without quotation marks generatingpublic/fileinwhich to save the key (/ users/your_user_directory/. ssh/id_rsa):< Enter is good >

Then enter the password, you can skip the return, password is to prevent others from submitting content to your project:

 for no passphrase):< input encryption string >enter same passphrase again:< re-enter the encryption string >

Show SSH key successfully set:

Add SSH key to GitHub
    • Locate the id_rsa.pub file that you just generated, and copy all the contents;
    • Login to GitHub and click Account Settings--->ssh public keys---> Add another public keys in the upper right corner
    • Paste, and then save
Test can enter the following command to see if the settings are successful, [email protected] Do not modify the section:
SSH-T [email protected]The authenticity of host'github.com (207.97.227.239)'Aa't be established.RSA Key fingerprint is -: -: Ac:a5: the: -: 2d: $: the: 1b: About: 4d:eb:DF: A6: -.Is you sure want to continue connecting (yes/no)?# Enter Yes directlyHi cnfeat! You've successfully authenticated, but GitHub does not provide shell access

Fix it.

Reference: HTTP://WWW.JIANSHU.COM/P/05289A4BC8B2

  

Hexo quick configuration after reloading system

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.