Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7

37 bytes removed, 06:50, 5 May 2015
no edit summary
::<span style="font-family:courier">Your public key has been saved in /home/user1/.ssh/id_rsa.pub.</span><br>
::<span style="font-family:courier">The key fingerprint is:</span><br>
::<span style="font-family:courier">93:58:20:56:72:d7:bd:14:86:9f:42:aa:82:3d:f8:e5 user1@centos2</span><br><br>
<ol><li value="12"> After generating the keys it prompts you for the location to save the keys. The default is <code>~/.ssh</code> Your private key will be saved as <code>id_rsa</code> and your public key will be saved as <code>id_rsa.pub</code></li></olli>{{Admon/tip | Lengthy Passphrases | You will then be prompted for a passphrase. The passphrase must be entered in order to use your private key. Passphrases are more secure than passwords and should be lengthy, hard to guess and easy to remember. For example one passphrase that meets this criteria might be "seneca students like fish at 4:00am". Avoid famous phrases such as "to be or not to be" as they are easy to guess. It is possible to leave the passphrase blank but this is dangerous. It means that if a hacker were able to get into your account they could then use your private key to access other systems you use.}} <olbr><br></li><li value="3">Now issue the command <code>ssh-copy-id -i ~/.ssh/id_rsa.pub centos3</code></li>
<li>Now we can ssh into centos3 from centos2 using two different authentication methods.</li>
<li>Make certain to logout of your centos3 system. Use the <code>hostname</code> command to verify you are back in your centos2 server.</li>
</ol>
'''Answer Part 3 2 observations / questions in your lab log book.'''
=INVESTIGATION 2: USING SSH AND OTHER SECURE SHELL UTILITIES=
13,420
edits

Navigation menu