上QQ阅读APP看书,第一时间看更新
How it works...
The principle of asynchronous keys and public key cryptography can be awkward for people to get their head around. For the most part, you won't need to worry about the mathematics of key generation—you should just know that you will always end up with two keys, a public one and a private one.
Dimble, an entirely fictional engineer who thinks it's a good idea to store his private SSH key on a public GitLab server in a repository named my stuff is a security risk, because he never owned a dictionary, and believes that the word private means "share it with the world", which it doesn't. He also disabled the passphrase on his private key because he didn't like the fact there was an extra step between him and his server. Don't be like Dimble—keep your private key safe and secure.