From unknown Thu Mar 28 18:09:16 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#765: [X2Go-Dev] Bug#765: Bug#765: Bug#765: Kex Error in X2Go client Reply-To: Michael DePaulo , 765@bugs.x2go.org Resent-From: Michael DePaulo Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 04 Mar 2015 02:15:02 +0000 Resent-Message-ID: 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.14254350142313 (code B ref 765); Wed, 04 Mar 2015 02:15:02 +0000 Received: (at 765) by bugs.x2go.org; 4 Mar 2015 02:10:14 +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=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 45CBD5DCAB for <765@bugs.x2go.org>; Wed, 4 Mar 2015 03:10:13 +0100 (CET) Received: by wghl18 with SMTP id l18so43679066wgh.8 for <765@bugs.x2go.org>; Tue, 03 Mar 2015 18:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FmlvZD/UH7PO6+m/UeVjWijXoy3VgV3CEeLBDYSyhBE=; b=CmMYewWvqOryqY8fSAEHzOpeV43xSlnBRB/5MvZ17Ec7M73U311ebxCd/T6WFjKRwX nhO7xvBg0HexTo67bk5H2uQZ04cpAaGBwJcxipf8fh2+Zb0EMAjLMoXybQLsWB2Sy9iJ 6NQ7/iqNg5gR1jIGoJhDgKmltccEBaY2E9H/PTMsQkcm2bCpE8I2yg+8yhVOn7FHpLYU G8awmWC1/5Rgryw3z0h87PeaCmw95qI08EJhYwHJ2P+6TA250brq+8JPQHDMDCOBcY+L 5vDeVNh4X6zZ9Z91mmr2riC5m2OvLbp9YP7vlU2nHpwSgtCi1+0u5x6GDGWSCOsfvdhS Peeg== MIME-Version: 1.0 X-Received: by 10.180.207.227 with SMTP id lz3mr50624659wic.47.1425435012963; Tue, 03 Mar 2015 18:10:12 -0800 (PST) Received: by 10.180.80.8 with HTTP; Tue, 3 Mar 2015 18:10:12 -0800 (PST) In-Reply-To: <54F668FF.3090805@ionic.de> References: <54C395BF.4030603@gmx.com> <54F5B7CE.6000308@ionic.de> <54F668FF.3090805@ionic.de> Date: Tue, 3 Mar 2015 21:10:12 -0500 Message-ID: From: Michael DePaulo To: Mihai Moldovan Cc: 765@bugs.x2go.org, promox Content-Type: text/plain; charset=UTF-8 On Tue, Mar 3, 2015 at 9:07 PM, Mihai Moldovan wrote: > On 04.03.2015 02:04 AM, Michael DePaulo wrote: >> On Tue, Mar 3, 2015 at 8:31 AM, Mihai Moldovan 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 > Sorry, i skimmed the manpage too hastily. You are right, that is the preferable command. Thanks, -Mike#2