About SSH authentication git account issues and steps

1, using SSH generate generate id_rsa file, one of which is that you need your own password, the other end of the pub that you copied to the public on git.

Examples are as follows:

Pasted Graphic.tiff

2, and then generates two files in your .ssh folder is the file you named the above two file names, it opened a pub attached to the inside of the git ssh inside

 

3, this time back to when you log in to continue to deny, this time you have to you have to execute the following command:

ssh-add ~/.ssh/key   

Pasted Graphic 1.tiff

Description: The key behind this is to generate your own name above the file name, this very critical, you must be above the file name.

 

4, when the top is certified git ssh login process generates all public keys.

Guess you like

Origin www.cnblogs.com/whey/p/11209037.html