Basic Setup

This setup uses the default private/public key pair created by Openssl, which are id_rsa and id_rsa.pub at the time of this writing.

1. From the terminal, create a RSA key pair.

newuser@mycomputer:~$ ssh-keygen -t rsa

   Generating public/private rsa key pair.
   Enter file in which to save the key (/home/newuser/.ssh/id_rsa): [Enter]
   Enter passphrase (empty for no passphrase): [Enter]
   Enter same passphrase again: [Enter]
   Your identification has been saved in /home/newuser/.ssh/id_rsa.
   Your public key has been saved in /home/newuser/.ssh/id_rsa.pub.
   The key fingerprint is:
   fe:07:bf:b6:35:f3:81:3b:c1:93:de:ae:8e:28:29:fb newuser@mycomputer
   The key's randomart image is:
   +--[ RSA 2048]----+
   |                 |
   |                 |
   |                 |
   |                 |
   |        S   . .  |
   |       .  .  =.  |
   |        o  o..B. |
   |     . o .. =+.=.|
   |     .+E...++*+..|
   +-----------------+

2. Navigate to My Account, for example, from your project's Repository page.

3. Upload your key to the server.

4. Follow the Setup New Repository directions on your repository page or in Empty Repository Instructions: SSH.

git_setup.png (351 KB) John Quan, 06/28/2014 10:42 PM

my_account.png (389 KB) John Quan, 06/28/2014 10:42 PM