Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
help:general_linux:sshkeys [2022/08/30 08:55]
dfrey [Setting up SSH Keys]
help:general_linux:sshkeys [2023/01/18 21:50]
dfrey [How to Set up Your Keys]
Line 9: Line 9:
  
   * **Step 1**: Open up a terminal.  On many systems, you can do this by hitting Control-Alt-t.     * **Step 1**: Open up a terminal.  On many systems, you can do this by hitting Control-Alt-t.  
-  * **Step 2**: Check for exisitng ssh key.  "ls -l ~/.ssh/" if it shows //id_rsa.pub// skip to step 4. +  * **Step 2**: Check for existing SSH key.  "ls -l ~/.ssh/" if it shows //id_rsa.pub// skip to step 4. 
-  * **Step 3**: Type in "ssh-keygen -t rsa" Hit enter.+  * **Step 3**: Type in "ssh-keygen -t rsa"Press [Enter]. 
 +(Note that you can choose another format like "ecdsa" which will create the id_ecdsa and id_ecdsa.pub files.
   * **Step 4**: You will now be prompted for a file in which to save the key.  Without typing anything, hit enter.   * **Step 4**: You will now be prompted for a file in which to save the key.  Without typing anything, hit enter.
-  * **Step 5**: You will be prompted to enter a passphrase.  Again, without typing anything hit enter, and then when asked to enter the same passphrase again, hit enter again. +  * **Step 5**: You will be prompted to enter a passphrase.  Again, without typing anything hit enter, and then when asked to enter the same passphrase again, press [Enter] again. 
-  * **Step 6**: Your screen should now look like the screenshot below. Now it's time to copy a key over to mote.  Enter the command "ssh-copy-id myUsername@mote.cs.vassar.edu", where "myUsername" has been replaced with the username associated with your cs account. Hit enter.+  * **Step 6**: Your screen should now look like the screenshot below. Now it's time to copy a key over to mote.  Enter the command "ssh-copy-id myUsername@mote.cs.vassar.edu", where "myUsername" has been replaced with the username associated with your CS account. Hit enter.
  
 {{ help:general_linux:alldone.png?1100}} {{ help:general_linux:alldone.png?1100}}