git中sshkey有何作用?
黄舟
黄舟 2017-04-21 10:57:05
0
1
943

如果丢失了怎么办。。。

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Ty80

As we all know, ssh is an encrypted transmission.

There are many algorithms for encrypted transmission. Git can use rsa. A core problem to be solved by rsa is how to use a pair of specific numbers so that one number can be used for encryption and the other number can be used for decryption. These two numbers are the public key that you encounter when using git and github, that is, the public key and the private key.

Among them, the public key is the number used for encryption, which is why you have to upload it to github after generating the public key locally. The data sent back from github and encrypted with the public key can be restored using your local private key.

If your key is lost, whether it is a public key or a private key, you cannot use it if you lose one. The solution is also very simple, just generate it again, and then set it up again in github.com

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template