Changes

Jump to: navigation, search

OPS235 Lab 7

1 byte added, 07:54, 28 June 2016
no edit summary
<li>Run that same '''netstat''' command again. Wait a few minutes and then check again. Record your observations.</li>
</ol>
 
So far, we have learned to establish an ssh connection to another host using a password to establish your identity. But '''passwords are not the only or even the best way of authenticating your identit'''y. We can also use '''Public/Private key encryption'''.
<ol>
<li value="1210">Switch to your '''centos2''' VM.</li>
<li>Confirm you are in your centos2 VM by entering the command: <b><code><span style="color:#3366CC;font-size:1.2em;">hostname</span></code></b> Make <u>certain</u> that you are in your centos you are NOT logged in as root!''' (you have been warned!)</li>
<li>To generate a keypair (public/private keys), issue the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">ssh-keygen</span></code></b></li>
13,420
edits

Navigation menu