You are not logged in.

#1 2015-09-18 17:03:34

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

[SOLVED] Unexpected end of message at bzr branch command

I'm trying to run the following command:

bzr branch lp:terminator/gtk3

However, I'm receiving the following error:

Unable to negotiate with 91.189.95.84: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Unable to negotiate with 91.189.95.84: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. 

Same error happens if I try to branch other repositories. These repositories are working as expected in other Linux distros running the same version of bzr.

I'm using bzr-2.6.0-1.

At google, I haven't found any clue about this issue.

How to install this diffie-hellman-group1-sha1 exchange method?

I have also tried to remove ~/.bzr, but without success.

Last edited by ayr-ton (2015-09-19 18:07:44)


Fork it all! Fork it all!

Offline

#2 2015-09-18 17:07:44

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] Unexpected end of message at bzr branch command


1000

Offline

#3 2015-09-18 17:12:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Unexpected end of message at bzr branch command

ayr-ton wrote:

These repositories are working as expected in other Linux distros running the same version of bzr.

But I'm guessing they have an older version of ssh...
http://lists.mindrot.org/pipermail/open … 00122.html


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2015-09-19 18:07:24

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

Re: [SOLVED] Unexpected end of message at bzr branch command

Thank you for all the help.

That's right, slithery. That distros are using an older version of SSH.

The following ssh_config learned from byte's post has solved my issue:

Host bazaar.launchpad.net
	KexAlgorithms +diffie-hellman-group1-sha1

Fork it all! Fork it all!

Offline

#5 2015-09-19 18:18:39

ayr-ton
Member
From: Brazil
Registered: 2015-09-14
Posts: 29
Website

Re: [SOLVED] Unexpected end of message at bzr branch command

I have added these instructions at:

https://wiki.archlinux.org/index.php/Se … penSSH_7.0

Last edited by ayr-ton (2015-09-22 19:23:57)


Fork it all! Fork it all!

Offline

Board footer

Powered by FluxBB