Pushing, SSH keys

Asked by TPJ

Hello.

I'm using Bazaar on two machines: at work, and at home. I have uploaded a new version of my project to launchpad from home. When I was at work, I wanted to pull this branch, but I failed (sorry, I don't remember the error messages). So I had just branched the development branch, modified it, and than I tried to push it to launchpad, but I was informed that:

Launchpad user 'tpj' doesn't have a registered SSH key
Permission denied (publickey).

Well, I have uploaded two public keys to launchpad: one from work, and one from home.

Why was I able to upload a new revision to launchpad from home (I didn't have my private RSA key from work)? Why I'm not able to do the same thing from work?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Elliot Murphy
Solved:
Last query:
Last reply:
Revision history for this message
Best Elliot Murphy (statik) said :
#1

Hi TPJ,

It looks like your launchpad username is tprimke. From the error message you show, it looks like your local user is tpj. You can specify the username that is used with bzr+ssh like this:

bzr push bzr+ssh://<email address hidden>/~person/project/branch

Also check out the bzr launchpad-login command, which configures which launchpad ID to use for logging into launchpad. It should not be any problem for you to have multiple SSH keys, one for work and one for home, launchpad will be able to use both.

Revision history for this message
TPJ (tprimke) said :
#2

Thanks Elliot Murphy, that solved my question.