Changes

Jump to: navigation, search

OPS235 Lab 7

489 bytes added, 08:36, 28 June 2016
no edit summary
::<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/user1ops235/.ssh/id_rsa):</span> <br>::<span style="font-family:courier">Enter passphrase (empty for no passphrase): </span><br>::<span style="font-family:courier">Enter same passphrase again: </span><br>::<span style="font-family:courier">Your identification has been saved in /home/user1/.ssh/id_rsa.</span><br>::<span style="font-family:courier">Your public key has been saved in /home/user1ops235/.ssh/id_rsa.pub.</span><br>
::<span style="font-family:courier">The key fingerprint is:</span><br>
::<span style="font-family:courier">93ef:58de:2031:5667:72f7:d715:bda4:1443:8639:9f15:425d:aa78:821b:3de8:f897:e5 user174 ops235@centos2centos3</span><br>::<span style="font-family:courier">The key's randomart image is:</span><br><br>::<span style="font-family:courier">+--[ RSA 2048]----+</span><br>::<span style="font-family:courier">| .+=|</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>::<span style="font-family:courier">x</span><br>
<ol><li value="16"> 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

Navigation menu