X2Go Bug report logs - #765
Kex Error in X2Go client

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: promox <promox@gmx.com>

Date: Sat, 24 Jan 2015 12:55:02 UTC

Severity: normal

Found in version 4.0.3.1

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#765: [X2Go-Dev] Bug#765:  Bug#765: Bug#765: Kex Error in X2Go client
Reply-To: Mihai Moldovan <ionic@ionic.de>, 765@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 04 Mar 2015 02:10:02 +0000
Resent-Message-ID: <handler.765.B765.14254348961632@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 765
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 765-submit@bugs.x2go.org id=B765.14254348961632
          (code B ref 765); Wed, 04 Mar 2015 02:10:02 +0000
Received: (at 765) by bugs.x2go.org; 4 Mar 2015 02:08:16 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 38F615DCAB
	for <765@bugs.x2go.org>; Wed,  4 Mar 2015 03:08:13 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 6774E4F00E0F;
	Wed,  4 Mar 2015 03:08:12 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1425434893; bh=mediPSgjIVfRyTHu8xj1Z9mHZ7/3JNjaNtXSLuCNS+4=;
	h=Date:From:To:CC:Subject:References:In-Reply-To:From;
	b=aszUsTixiZmEJfGhdwGeRlyGpYGHACv/UsJs4TyyFgqU0TrRnyg0UNbYdY1cNutJ3
	 A2jd667/La1wvKmZ2TBZxogSAZdmJw4Oz1rO9ejfOXM8M6ekEem+v3mjdMBcd23mLs
	 LoYT1kPQU5iURAFCL2u2b4edOlUMRGkBTkPFiefw=
Message-ID: <54F668FF.3090805@ionic.de>
Date: Wed, 04 Mar 2015 03:07:59 +0100
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: Michael DePaulo <mikedep333@gmail.com>, 765@bugs.x2go.org
CC: promox <promox@gmx.com>
References: <54C395BF.4030603@gmx.com>	<54F5B7CE.6000308@ionic.de> <CAMKht8jKCA7ew1-xwP7xUqfc1y6CsvT_rBDXsev-f8QaxxTnwA@mail.gmail.com>
In-Reply-To: <CAMKht8jKCA7ew1-xwP7xUqfc1y6CsvT_rBDXsev-f8QaxxTnwA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="wp6g5rkejPdOgVSVUCIXApnwCwLCGUatN"
[Message part 1 (text/plain, inline)]
On 04.03.2015 02:04 AM, Michael DePaulo wrote:
> On Tue, Mar 3, 2015 at 8:31 AM, Mihai Moldovan <ionic@ionic.de> wrote:
>> Control: reassign -1 x2goclient
>> Thanks
>>
>>
>> Hi
>>
>>
>> On 24.01.2015 01:53 PM, promox wrote:
>>> Package: X2GO Client
>>>
>>> Version: 4.0.3.1
>>>
>>> Hi,
>>> Before my server using ubuntu but now I am switching to centos. But
>>> when I connect to server using x2go. I got error message: kex error:
>>> no match for method server host key algo: server [ssh-rsa,ssh-dss],
>>> client [ecdas-sha2-nistp256].
>>>
>>> Have anyway to fix that error?
>> This issue came up on the IRC channel a few days back and it looks like
>> your server is missing an RSA key.
>>
>> Can you please run "sudo ssh-keygen -A", then restart the ssh daemon and
>> test again?
>>
>> N.B.: there's nothing x2goclient can do about this situation, unfortunately.
>>
>>
>>
>> Mihai
> Mihai,
>
> He already has an RSA key. And a DSA key. The problem is that X2Go
> Client for Windows is limiting him to an ecdsa-sha2-nistp256 key. It
> won't even accept other key lengths.

Sorry, I meant an ECDSA key.


Taken from man ssh-keygen:
``     -A      For each of the key types (rsa1, rsa, dsa, *ecdsa* and
ed25519) for which host keys do not exist, generate the host keys with
the default key file path, an empty passphrase,
             default bits for the key type, and default comment.  This
is used by /etc/rc to generate new host keys.''

The default ecdsa key generated on my machine is ecdsa-sha2-nistp256.

That's why I explicitly suggested (sudo) ssh-keygen -A.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Apr 24 07:29:37 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.