[ubuntu-uk] launchpad and ubuntu

Paul Sutton zleap at disroot.org
Fri Dec 21 18:30:41 UTC 2018


Just rejoined the list with a different e-mail address

I am trying (and failing) to set up bzr and launchpad properly.

So far I have created a ssh keypair
uploaded this to the website (copy and paste public key in to the box on
the launchpad website page for this)

as per


However this section appears to provide no guidance as to what to type
in the .ssh/CONFIG file

" Note You need to upload the .pub file to Launchpad, and to specify the
private-key file (with no .pub) in the SSH configuration. "

However from doing something like this before I added

Host launchpad.net
IdentityFile ~/.ssh/id_rsa_launchpad
psutton at zleap:~/.ssh$

I don't know the correct host to use (so I have guessed)

I am trying to upload a test file to make sure everything works

bzr push lp:~zleap/+junk/test from inside a test director for this.

This gives

Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check
connectivity and permissions, and report a bug if problems persist.
psutton at zleap:~/Documents/Development/bazaar/test$

What have I done wrong here please ?

I was also told by ssh-add that the permissions were wrong, (default
permissions for files are 755) I set to 400 ( chmod 400 id_rsa_launchpad
) which should give the private key read only access to user)

Again these erros seem to assume that the end user knows what to set
file access permissions to.

Sorry if this is not the right place to ask, but I am not sure where to
ask. However I am sure there are some developers on here who may be able
to help or point me in the right direction.

Thanks for any help

Paul Sutton

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20181221/e0054a4f/attachment.sig>

More information about the ubuntu-uk mailing list