Linux configuration Git Operation free login SSH public key

Source: Internet
Author: User

CD ~/.ssh

Ssh-keygen-t rsa-b 4096-c "[email protected]" then enter three combo ...

You can see two more files in the current directory Id_rsa.pub and Id_rsa with a public key, without a private key

Vim id_rsa.pub Open Public key, copy all content (private key)

Then go to GitHub login > nod like > Point settings> Point ssh and GPG keys> point new SSH key

Title: Casually lose, try to standardize

Key: Paste the public key content that you just copied. Finally click on Add SSH key

... Well, this machine will do the remote warehouse operation without losing the password.

Linux configuration Git Operation free login SSH public key

Related Article

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.