Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

6 bytes removed, 12:46, 25 June 2015
no edit summary
<li>That should generate output similar to the following:</li>
</ol>
<br>
::<span style="font-family:courier">Generating public/private rsa key pair.</span><br>
::<span style="font-family:courier">Enter file in which to save the key (/home/user1/.ssh/id_rsa):</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 '''~/.ssh''' Your private key will be saved as <b>id_rsa</b> and your public key will be saved as '''id_rsa.pub'''</li>
<li>You will then be prompted for a pass-phrase. The pass-phrase must be entered in order to use your private key. Pass-phrases are more secure than passwords and should be lengthy, hard to guess and easy to remember. For example one pass-phrase 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 pass-phrase 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.<br><br></li>
13,420
edits