头图

Problem Description

This article records the steps of configuring shh when the warehouse code is pushed on github, so as to better improve the efficiency of development code management. The detailed steps are as follows:

step

The first step is to use the ssh-keygen command to generate the client key based on the RSA algorithm

  • Enter the command and press Enter all the way.
  • Command: ssh-keygen -t rsa -C "自己的相关邮箱@163.com"

ssh-keygen is a standard component of the Secure Shell (SSH) protocol suite on Unix and Unix-like computer systems for establishing secure shell sessions between remote computers over insecure networks by using various encryption techniques. The ssh-keygen utility is used to generate, manage and convert authentication keys.

The second step is to find the newly generated key file in the corresponding folder

The third step, open the public key id_rsa.pub file and copy its content

The fourth step, log in to github, click on your avatar and click on settings

The fifth step, create SSH keys in SSH and GPG keys

The sixth step, paste and save

Finally, you can happily push the code...

The same is true for gitlab or gitee

kongzi yue: A bad pen is better than a good memory ^_^


水冗水孚
1.1k 声望588 粉丝

每一个不曾起舞的日子,都是对生命的辜负