Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

2 bytes removed, 08:03, 7 July 2015
no edit summary
#::<span style="font-family:courier">Warning: Permanently added 'centos3' (RSA) to the list of known hosts.</span><br><br>
# Answer '''yes''' to add to the list of known hosts.
#:: Issue the following command to confirm that you connected to your centos3 VM: <b><code><span style="color:#3366CC;font-size:1.2em;">hostname</span></code></b>
[[Image:spoof.png|thumb|right|485px|If you receive a message like the one displayed above, you should investigate why it is happening as it could indicate a '''serious security issue''', or it could just mean that something on '''the host has changed'''(i.e. the OS was <u>reinstalled</u>)]]
<ol><li value="56">Logout of your ssh connection by typing <b><code><span style="color:#3366CC;font-size:1.2em;">exit</span></code></b>.
<li>Run the netstat command in another terminal and check the state of the connection after logging out. Wait a few minutes and then check again. Record your observations.</li>
<li>Make certain to exit all connections, and that your shell is located in your <u>centos3</u> server. You can verify this by entering the command: <b><code><span style="color:#3366CC;font-size:1.2em;">hostname</span></code></b>
13,420
edits