Difference between revisions of "Creating your ssh keys (private/public)"

From GLMWiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
open any terminal application
 
open any terminal application
  
  ssh-keygen -t rsa -C "your_email@example.com"
+
  ssh-keygen -t rsa -C "your_email@gaslightmedia.com"
 
  # Enter file in which to save the key
 
  # Enter file in which to save the key
 
  # Enter passphrase (empty for no passphrase):  
 
  # Enter passphrase (empty for no passphrase):  
 
  # Enter passphrase again
 
  # Enter passphrase again
 
   
 
   
replace the "your_email@example.com" with your actual email address. You can use the default for the file name to generate the key.
+
replace the "your_email@gaslightmedia.com" with your actual email address. You can use the default for the file name to generate the key.
  
  
Copy the key to your clipboard
+
Copy the key to your a file with yourName.pub
pbcopy < ~/.ssh/id_rsa.pub
+
  
Now you should have a copy in your clipboard of your public key. Send the key to steve@gaslightmedia.com.
+
For example:
 +
cp .ssh/id_rsa.pub steve.pub
 +
 
 +
Send the key to steve@gaslightmedia.com. Also note in the email message which machine this was from.

Latest revision as of 13:25, 21 August 2014

To create your public/private keys

Windows users

open the Git Bash window


Linux users

open any terminal application

ssh-keygen -t rsa -C "your_email@gaslightmedia.com"
# Enter file in which to save the key
# Enter passphrase (empty for no passphrase): 
# Enter passphrase again

replace the "your_email@gaslightmedia.com" with your actual email address. You can use the default for the file name to generate the key.


Copy the key to your a file with yourName.pub

For example:

cp .ssh/id_rsa.pub steve.pub

Send the key to steve@gaslightmedia.com. Also note in the email message which machine this was from.