Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

37 bytes added, 07:26, 5 May 2015
no edit summary
=== Part 2: Establishing an ssh connection. ===
{|width="40%"
|- valign="top"
 
|{{Admon/note |Storing Fingerprints | When a user connects to a host using ssh, the host sends a fingerprint or digital signature to the client to establish its identity. The first time a connection is established the identity must be stored for subsequent connections. The fingerprints are stored separately for each user in a file called <code>~/.ssh/known_hosts</code> . <br /><br />From now on when you connect to that host the client will compare the received fingerprint against the list of known hosts before connecting. If the fingerprint does not match it could indicate somebody had setup a system to impersonate the computer you wish to connect to and you would receive a message like this}}
 
|}
# Use your centos2 VM to complete this section.
# Establish an ssh connection to your centos3 VM using the command:<br /><code>ssh ops235@centos3</code> (Where 'ops235' is the account on centos3 and 'centos3' is the hostname of the centos3 VM.)
{{Admon/note |Storing Fingerprints | When a user connects to a host using ssh, the host sends a fingerprint or digital signature to the client to establish its identity. The first time a connection is established the identity must be stored for subsequent connections. The fingerprints are stored separately for each user in a file called <code>~/.ssh/known_hosts</code> . <br /><br />From now on when you connect to that host the client will compare the received fingerprint against the list of known hosts before connecting. If the fingerprint does not match it could indicate somebody had setup a system to impersonate the computer you wish to connect to and you would receive a message like this}}
<ol><li value="3"> Answer '''yes''' to add to the list of known hosts.</li></ol>
13,420
edits