Comment 1 for bug 334666

Revision history for this message
Ivan Zorin (iaz) wrote :

This error I get when trying to push changes in my own branch at launchpad of some other project.
But looks like that I've found possible temporary solution for this issue.

Open ~/.ssh/config in your favorite text editor:
> vim ~/.ssh/config
And add here:
Host lp
  HostName bazaar.launchpad.net
  User <your lp username(without ~)>
  IdentityFile <path to your full lp ssh key(not .pub)>

Here my config file:
> cat ~/.ssh/config
Host lp
  HostName bazaar.launchpad.net
  User iaz
  IdentityFile /home/ia/.ssh/id_rsa_lp

And now you can push changes via "bzr push bzr+ssh://lp/~<user>/<trunk>/<branch>" command
(instead traditional "bzr push lp:~<user>/<trunk>/<branch>" way).

For example, in my case this command will look like this:
> bzr push bzr+ssh://lp/~iaz/bzr-gtk/cosmetic
and seems it works fine.