failed to upload ssh key, what is the ssh key.

Asked by qiangz2019?

WHEN i INSTALL esys-particle, I can't upload publish key SSH, can anybody help me?


Question information

English Edit question
ESyS-Particle Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Dion Weatherley (d-weatherley) said :

Hi qiangz,

Instructions for creating and uploading SSH keys to Launchpad are available here:



Revision history for this message
qiangz2019? (jasonzhou) said :

Hi Dion,

Thanks for your help!
I found this link, but I still can't upload the SSH successfully.
SSH key was created, but I don't know how to upload.
Actually I don't know what is the name of the SSH key.

Step 4: Next, enter then confirm a password to protect your SSH key. Your key pair is stored in ~/.ssh/ as (public key) and id_rsa (private key)
Now you need to upload the public portion of your SSH key to Launchpad

Revision history for this message
Dion Weatherley (d-weatherley) said :

Hi Qiangz,

OK, let me break it down step-by-step:

1) ensure you have bzr installed. In a terminal window type:
which bzr

[this should show the path to the installed bzr executable].

If it doesn't find bzr, install it e.g. on Debian or Ubuntu:
sudo apt-get install bzr

2) tell bzr who you are. In the terminal type:
bzr whoami "Your Name <email address hidden>"

[Replace "Your Name" and "<email address hidden>" with your own name and email address]

3) generate an SSH key to upload to Launchpad. In the terminal type:
ssh-keygen -t rsa

[When asked for passwords, just hit 'Enter']

4) print out the generated key in the terminal window:
cat ~/.ssh/

5) copy the returned text to your clipboard so you can paste it into your browser

6) In a browser, navigate to your homepage on Launchpad. In your case it is:

7) Log in to Launchpad if you are not already logged in.

8) On your Launchpad homepage you should see the words "SSH keys:". There will be a small round symbol of a pen on a yellow background beside these words. Click this symbol. Thereafter you will probably be asked to log in to Launchpad again (for added security). Continue to log in again

9) You should be directed to a page entitled "Change your SSH keys". Paste the text from step 5 into the textbox on this webpage, then click the "Import Public Key" button below the textbox.

10) Next return to your terminal window and inform bzr of your Launchpad username:
bzr launchpad-login your-launchpad-username

[replace "your-launchpad-username" with your actual username]

This should be all you are required to do in order to set up your SSH key on Launchpad. You should then be able to download the latest version of ESyS-Particle (and GenGeo) via bzr:
bzr branch lp:esys-particle
bzr branch lp:esys-particle/gengeo



Revision history for this message
qiangz2019? (jasonzhou) said :

Hi Dion,

Thanks so much for your great help!
I have already fixed this problem according to your example.
Have a good weekend!