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

From GLMWiki
Jump to: navigation, search
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):  

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@example.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.