Diff for "CreatingAnSSHKeyPair"

Not logged in - Log In / Register

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2008-01-23 23:03:54
Size: 1894
Editor: 77-100-239-119
Comment:
Revision 4 as of 2008-06-17 14:21:17
Size: 44
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents]]||

= Why you need an SSH key =

The trust that other people put in your Launchpad identity is no more important than when they use code that you've uploaded to Launchpad.

An SSH key secures the connection between your computer and Launchpad while you're pushing Bazaar branches up to Launchpad.

To push code branches to Launchpad, you first need to generate your SSH key. The key is made up of two parts: a private key that stays on your computer and a public key that you register with Launchpad. As you might expect, you shouldn't share the private key with anyone.

= Creating the key =

How you create your SSH key pair depends on which operating system you use.

If the instructions for your operating system are not here, [:Feedback:get in touch to request them] or, if you know what to do, add them to this page.

== Ubuntu ==

'''Step 1:''' Install OpenSSH by opening your terminal and typing:

```sudo apt-get install openssh-client```

'''Step 2:''' Once OpenSSH is installed, stay in the terminal and type:

```ssh-keygen -t rsa```

'''Step 3:''' When prompted, press ```Enter``` to accept the default file name for your key.

'''Step 4:''' Next, enter then confirm a password to protect your SSH key.

Now you need to upload the public portion of your SSH key to Launchpad.

= Registering the key with Launchpad =

'''Step 1:''' Open your public key in a text editor and copy its contents to your clipboard. The public key file has the extension ```.pub```. For example: ```id_rsa.pub```

'''Step 2:''' Visit https://edge.launchpad.net/people/+me/+editsshkeys

'''Step 3:''' Paste your public key into the text box and then click the ```Import public key``` button to continue.
#redirect YourAccount/CreatingAnSSHKeyPair

CreatingAnSSHKeyPair (last edited 2008-06-17 14:21:17 by localhost)