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

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

Revision as of 12:28, 9 May 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@example.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.