... | ... | @@ -31,13 +31,13 @@ Generating a keypair is very easy. |
|
|
|
|
|
When you use Launchpad and Bazaar, it likes to use the SSH keys to authenticate you. We need to add our public key to Launchpad.
|
|
|
|
|
|
## Adding Your Public Key to Launchpad
|
|
|
## Adding Your Public Key to GitLab
|
|
|
|
|
|
1. Open your browser to Launchpad and log in
|
|
|
1. Go to your home page and click on the ''Change details'' link
|
|
|
1. Open your browser to GitLab and log in
|
|
|
1. Go to your home page and click on the ''Profile / Settings'' link
|
|
|
1. Click on the ''SSH Keys'' tab (Note: not the OpenPGP keys!)
|
|
|
1. Paste that public key into the text box at the bottom of the page
|
|
|
1. Click the ''Import Public Key'' button at the bottom of the page
|
|
|
1. Click the ''Add Key'' button at the bottom of the page
|
|
|
|
|
|
And you're done!
|
|
|
|
... | ... | @@ -58,10 +58,10 @@ This is specific to Mac OS X 10.6, but should be similar on any Mac or Linux sys |
|
|
1. Use your choice of text editor to edit *~/.ssh/config*
|
|
|
1. `sudo vi config`
|
|
|
1. Hit **i** to enter insert mode
|
|
|
1. Add the following text to the bottom, where it says yourlaunchpdusername replace with your **launchpad** user name. ( to get yourlaunchpdusername visit https://launchpad.net/~ and it will redirect to add your username to the url after the ~ )`Host bazaar.launchpad.net IdentityFile ~/.ssh/id_rsa User yourlaunchpdusername`
|
|
|
1. Add the following text to the bottom, where it says yourlaunchpdusername replace with your **gitlab** user name. ( to get yourgitlabname visit https://gitlab.com/~ and it will redirect to add your username to the url after the ~ )`Host bazaar.launchpad.net IdentityFile ~/.ssh/id_rsa User yourgitlabusername`
|
|
|
1. Hit Escape
|
|
|
1. Hit ZZ
|
|
|
1. Copy the contents of your public key file on the Mac`cat ~/.ssh/id_rsa.pub | pbcopy` Linux users or Mac users can alternatively open ~/.ssh/id_rsa.pub with your favourite text editor or omit pbcopy and just copy it after running the command `cat ~/.ssh/id_rsa.pub`.
|
|
|
1. Finally Edit your SSH keys on launchpad as described in [Adding Your Public Key to Launchpad](#adding-your-public-key-to-launchpad) above. ( you can click on [This Link](https://launchpad.net/people/+me/+editsshkeys) which will take you directly to the page to update your SSH keys on **launchpad** ). Make sure you are on SSH keys and not PGP keys here.
|
|
|
1. Finally Edit your SSH keys on launchpad as described in [Adding Your Public Key to GitLab](#adding-your-public-key-to-girlab) above. ( you can click on [This Link](https://launchpad.net/people/+me/+editsshkeys) which will take you directly to the page to update your SSH keys on **gitlab** ). Make sure you are on SSH keys and not PGP keys here.
|
|
|
|
|
|
|