13,420
edits
Changes
→Generating a Public/Private Key Pair
=== Generating a Public/Private Key Pair ===
The public/private key pair needs to be generated on and used on your '''c7host''' machine (i.e. the user/machine you're connecting '''from'''). One common mistakes The private key is the equivalent of a <u>''password''</u> (that students make it why it is considered to be <u>''private''</u> - only to either generate be used by ''<u>one</u>'' owner). That is why the private key pair for the WRONG account, or copy the public key to the WRONG account on is stored in the intended remote machineowner's '''~/.ssh/''' directory.
You generate a new keypair with this command (press enter for all the questions):