Changes

Line 16: Line 16:     
=== Create SSH Key ===
 
=== Create SSH Key ===
ToDo
+
To create a key use ssh-keygen. The following command will create an “dsa” key:
 +
 
 +
ssh-keygen -t dsa
 +
 
 +
 
 +
For creating a “rsa” key use:
 +
 
 +
ssh-keygen -t rsa
 +
 
 +
 
 +
The generated key will be stored in the hidden <tt>.ssh</tt> folder.
 +
<tt>id_dsa</tt> is your private key. Only you should have access to this private key.
 +
<tt>id_dsa.pub</tt> is your public key.
 +
 
 +
ls -al ~/.ssh
 +
-rw-------  1 strom strom  668 2009-12-17 21:51 id_dsa
 +
-rw-r--r--  1 strom strom  603 2009-12-17 21:51 id_dsa.pub
 +
 
 +
 
 +
Log in to http://git.sugarlabs.org/account and upload you public key. In your account you can find a link named <tt>Add SSH key</tt>. You can paste your public key directly to  the input field.
 +
 
 +
With ssh-keygen you can specify the name of your key file. Using this feature is no good idea. Keys should generally located in <tt>~/.ssh/id_rsa.pub</tt> or <tt>~/.ssh/id_dsa.pub</tt>.
 +
 
 +
ToDo: Does keys protected with a passphrase work together with GIT?
 +
 
 +
ToDo: What is the difference between DSA and RSA keys?
    
=== Create a Project ===  
 
=== Create a Project ===  
37

edits