Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

4 bytes added, 14:29, 14 January 2017
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.
The private key is the equivalent of a <u>''password''</u> (One very common mistake that it why it students make is considered to be <u>''private''</u> - only either generate the key pair for the WRONG account, or copy the public key to be used by ''<u>one</u>'' owner).That is why the private key is stored in WRONG account on the owner's '''~/.ssh/''' directoryintended remote machine.
You generate a new keypair with this command (press enter for all the questions):
13,420
edits