How to set the key for Linux and Mac to connect to github and gitlab
For the method of connecting github and gitlab in Windows through the key, please refer to the following blog:
A detailed summary of how to use Git and GitHub:
https://blog.csdn.net/zhengzaifeidelushang/article/details/114640181
One, Linux and Mac generate public key and private key
ssh-keygen -t rsa
The key's randomart image is:
+---[RSA 3072]----+
| .**. |
| .+o . ... |
| . . .*.=