Ssh configuration and use at a glance, graphic tutorials.

Posted Jun 15, 20202 min read

As a new front-end, the first thing is to configure ssh.
The purpose of this article is to allow you to configure ssh without understanding anything.
Note:Special text for Xiaobai, please advise or detour, thank you.

  1. Download git

1. In the search engine, search for git.

image.png

2. Enter the red box

image.png

3. Click download, the download interface appears

image.png

4. Double-click the downloaded git installation package to install it

image.png

5. After the download is complete, click the right mouse button and the git icon appears, indicating that the installation was successful

image.png

Second, configure SSH

1. Click the red box

image.png

2. Enter the git interface

image.png

3. Enter ssh-keygen -t rsa -C "youremail@example.com" on the interface
The point is this youremail@example.com.
Replace it with your GitHub address.
Note that you cannot paste with Crtl+v. Use the right mouse button and click Paste to paste.

image.png

4. Then click Enter, you can see the generated ssh file in the corresponding red line

image.png
Note:This picture comes from the network, invading and deleting

5. Open the folder where ssh is stored in the fourth step, you can see two files

image.png

6. Open the id_rsa.pub file with Notepad

image.png

7. Copy all the contents.
  1. Open and log in to github

1. Click the avatar in the upper right corner, and then click setting

image.png

2. Click SSH and GPG keys in the sidebar

image.png

3. Click on newssh

image.png

4. Take a name, paste the previously copied ssh into it, and click addshkey.

image.png

Then you succeeded.