bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist

Asked by Abdul Rauf on 2012-08-09

I am trying to load the current trunk of getting things gnome, i am getting the following error

Bad owner or permissions on /home/haseeb/.ssh/config
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

and i have configured ssh file. the file is as

Host bazaar.launchpad.net
    IdentityFile /home/haseeb/.ssh/id_rsa_launchpad
    User haseeb

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2012-08-09
Last reply:
2018-09-03
Martin Packman (gz) said : #1

As indicated by the message, this is an issue with your configuration, not a bug in bazaar.

Martin Packman (gz) said : #2

Do:

    ls -l ~/.ssh

All the files need to be owned by your user and not writeable to by other users. Your private key should not be readable by other users.

I encountered this problem with the Bazaar plugin for eclipse and an ssh connection with rsa key. Can not connect with the same error message. I solved it by installing the ssh-askpass package which allowed exclipse to prompt me for the password phrase through a GUI.

Can you help with this problem?

Provide an answer of your own, or ask Abdul Rauf for more information if necessary.

To post a message you must log in.