Home > Back-end >  , please perform the SSH - the keygen -t rsa - C "[email protected]", generated during the public
, please perform the SSH - the keygen -t rsa - C "[email protected]", generated during the public

Time:01-28

, please perform the SSH - the keygen -t rsa - C "[email protected]", generated during the public key, is only generated in the unit, or submit to related websites, generated by the website? What has happened in this time?

CodePudding user response:

In local or on the site can be
SSH - the keygen tend to generate a public key and a key at the same time, so you generated locally by public key visit the web site, why does it take you leave your key to site configuration, also add your public key to authorized_keys, so, so it is better to over there to generate the web is convenient,


CodePudding user response:

reference 1st floor qybao response:
locally or on the web site can be
SSH - the keygen tend to generate a public key and a key at the same time, so you locally generated, want to pass the public key access web site, why does it take you leave your key to site configuration, also add your public key to authorized_keys, so, so it is better to produce convenient over there the web


Thank you very much, in the native produce, is directly generated by the machine program algorithm, isn't it, it does not need to will the generated public key and a private key and submitted to a web site, right?

CodePudding user response:

refer to the second floor eisldkw response:
thank you very much, in this machine, is directly generated by the machine program algorithm, isn't it, it does not need to will the generated public key and a private key and submitted to a web site, right?

You generate this what is the purpose of the public key? People visit you want to use the public key, or you want to use the public key access to others? If the former, you only need to put the public key to others; If the latter, and public and private keys are you want to give to others, so it is not as good as the others, the people here, the equivalent of a web site you said),