Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

8 bytes added, 07:51, 5 May 2015
no edit summary
'''Public Key authentication''' is a method of establishing identity using a '''pair of encryption keys that are designed to work together'''. One key is known as your '''private key''' (which as the name suggests should remain private and protected) and the other is known as the '''public key''' (which as the name suggests can be freely distributed) The keys are designed to work together to encrypt data asymmetrically, that is to say that when we '''encrypt data with one of the keys it can only be decrypted with the other key''' from the pair. While it doesn't mean the message is <u>secure</u> as anybody could decrypt it with the public key, it does establish my <u>identity</u>, if the host can successfully decrypt the message then it must have come from the one person in possession of the private key.
<br><br>
<ol>
<li value="10">Start by generating a keypair as your learn account on centos2 using the command:<br /><code>ssh-keygen</code></li>
13,420
edits