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

From GLMWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Windows users
+
To create your public/private keys
  
http://msysgit.github.com/
+
Windows users
  
grab the latest version and install
+
open the Git Bash window
  
during your install it will ask about converting to window files say no keep as is (unix)
+
 
 +
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.

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.