X2Go Bug report logs - #75
fails to use RSA SSH keys

version graph

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

Reported by: Reinhard Tartler <siretart@gmail.com>

Date: Thu, 6 Dec 2012 08:18:02 UTC

Severity: normal

Found in version 0.2.0.4-0~789~precise1

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 75@bugs.x2go.org (full text, mbox, reply):

Received: (at 75) by bugs.x2go.org; 6 Dec 2012 09:04:57 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Dec  6 10:04:57 2012
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 9C6E63BC43
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 10:04:57 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 6C305B5B
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 10:04:57 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 5E52F3BFD9
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 10:04:57 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 56YPZlnqaj5c for <75@bugs.x2go.org>;
	Thu,  6 Dec 2012 10:04:57 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 3B9543BC02
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 10:04:57 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1C00B3BFE0
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 10:04:57 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 0ABF23BFD9; Thu,  6 Dec 2012 10:04:56 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 06 Dec 2012
 10:04:55 +0100
Message-ID: <20121206100455.18217dm81m98o2pj@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 06 Dec 2012 10:04:55 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Reinhard Tartler <siretart@gmail.com>
Cc: 75@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#75: fails to use RSA SSH keys
References:  <CAJ0cceYTWOO+o=971XZiXwCUCAxEXoHxvUSpKLJ_K52-mmVz1g@mail.gmail.com>
 <20121206094843.1713322z943cy9d7@mail.das-netzwerkteam.de>
 <CAJ0ccebW1NGXNEoYT5sfKK9F3O2TeW=vt+aYS5qATeKaoTZ0xw@mail.gmail.com>
In-Reply-To:  <CAJ0ccebW1NGXNEoYT5sfKK9F3O2TeW=vt+aYS5qATeKaoTZ0xw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_7ao6r3yc0bsn";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
Hi Reinhard,

On Do 06 Dez 2012 09:53:32 CET Reinhard Tartler wrote:

> On Thu, Dec 6, 2012 at 9:48 AM, Mike Gabriel

>> I have also observed this behaviour. My main SSH key is an RSA key and it
>> works fine.
>
> That sentence does not make sense to me. Can you confirm that RSA keys
> do not work or not?

My RSA key here works fine with PyHoca-GUI. So, I think I can confirm  
that RSA keys generally work.

>>
>> So problem 1 is the error message: it says DSA (hard-coded) but it can mean
>> RSA/DSA.
>>
>> The ,,not a valid DSA key'' refers to a local private SSH key that does not
>> get accepted by the server (no matter if the key locally is RSA or DSA).
>
> Well, this means that the error message then is both wrong and not helpful.

Yes, ACK. Will address that later with a commit.

>> What is the exact SSH configuration in the sessions file? Do you use
>> detction of default key names in the config?
>
> This is my the relevant part of my ~/.x2goclient/sessions file
>
> [20121202161237781818]
> iconvfrom = UTF-8
> height = 600
> speed = 2
> setsessiontitle = 0
> sessiontitle =
> layout = us
> width = 800
> krblogin = 0
> soundsystem = pulse
> autostart = 0
> type = pc105/us
> sndport = 4713
> sshproxyuser =
> usekbd = 1
> autologin = 0
> sound = 1
> rootless = 0
> sshproxyhost =
> name = <REMOVED FOR PRIVACY>
> iconvto = UTF-8
> directrdp = 0
> sshport = 22
> startsoundsystem = 0
> pack = 16m-jpeg
> defsndport = 1
> useiconv = 0
> multidisp = 0
> export = ";"
> fullscreen = 0
> useexports = 0
> quality = 9
> xdmcpserver = localhost
> xinerama = 0
> rdpoptions = -u X2GO_USER -p X2GO_PASSWORD
> print = 0
> usesshproxy = 0
> sshproxytunnel = :1::1
> variant = altgr-intl
> sshproxykeyfile =
> fstunnel = 1
> applications = TERMINAL, WWWBROWSER, MAILCLIENT, OFFICE
> host = <REMOVED FOR PRIVACY>
> mimeboxextensions =
> user = tartler
> key =
> directrdpsettings =
> icon = /usr/share/icons/PyHoca/128x128/pyhoca-session.png
> mimeboxaction = OPEN
> rdpport = 3389
> rdpserver =
> soundtunnel = 1
> rdpclient = rdesktop
> command = KDE
> dpi = 96
> published = 0
> setdpi = 0
> usemimebox = 0

Ah... your are still using 0.2.0.4 of pyhoca-gui (and probably  
0.2.0.10 of python-x2go?).

Can you please try 0.2.1.0 of pyhoca-gui + python-x2go and report back  
if the problem persists (before I dig into old code...).

Greets,
Mike




-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 4 15:13:17 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.