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 #15 received at 75@bugs.x2go.org (full text, mbox, reply):

Received: (at 75) by bugs.x2go.org; 6 Dec 2012 08:53:34 +0000
From siretart@gmail.com  Thu Dec  6 09:53:34 2012
Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51])
	by ymir (Postfix) with ESMTPS id 7933E3BC43
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:53:34 +0100 (CET)
Received: by mail-oa0-f51.google.com with SMTP id n12so5809339oag.24
        for <75@bugs.x2go.org>; Thu, 06 Dec 2012 00:53:33 -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=V3RqtnzlPBzNeJNwjr7IPomgR13C4PIZpY3o1jw6q1s=;
        b=QeBLaAyF7GSLWM5bPrjOIOInHy4F5KSPKR2nmmybJQ1wQZOZxOT2UyARNg83YuwZVi
         JvZ0TQPlE1x77q7ghDzL44XE/TbYopeq8kF3UhDyRJyC0spm33NunETaavOk58LVC8IE
         mcoOKvy3zk0H/qOujjYhwyyQpI5WLBZjq7b3+fU89crhbx8Ou38lN5PFnswoHkG5hHce
         xtJlbSmTzd6Eq7Eck2nNaix+DyaujtK60EK4CnObIYwVZDWTNUVQw3jTUhw7kYb4Ns8M
         tgeka5/iWB+eg+nasBoz3mc7wb0u31CrzFWE8Wr2w8hA3s1eSh56Cp6mGFu6cvmvSgqa
         Vfxw==
MIME-Version: 1.0
Received: by 10.60.8.65 with SMTP id p1mr459169oea.4.1354784012904; Thu, 06
 Dec 2012 00:53:32 -0800 (PST)
Received: by 10.60.25.71 with HTTP; Thu, 6 Dec 2012 00:53:32 -0800 (PST)
In-Reply-To: <20121206094843.1713322z943cy9d7@mail.das-netzwerkteam.de>
References: <CAJ0cceYTWOO+o=971XZiXwCUCAxEXoHxvUSpKLJ_K52-mmVz1g@mail.gmail.com>
	<20121206094843.1713322z943cy9d7@mail.das-netzwerkteam.de>
Date: Thu, 6 Dec 2012 09:53:32 +0100
Message-ID: <CAJ0ccebW1NGXNEoYT5sfKK9F3O2TeW=vt+aYS5qATeKaoTZ0xw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#75: fails to use RSA SSH keys
From: Reinhard Tartler <siretart@gmail.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 75@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Dec 6, 2012 at 9:48 AM, Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
> Hi Reinhard,
>
>
> On Do 06 Dez 2012 09:11:51 CET Reinhard Tartler wrote:
>
>> Package: pyhoca-gui
>> Version: 0.2.0.4-0~789~precise1
>>
>> The configuration dialogue asks for a private RSA/DSA keys.
>> Unfortunately, when I try to use my RSA SSH key, the connection fails
>> with "not a valid DSA key". Which is correct, but not helpful.
>>
>> BTW, when browsing for a keyfile, the window title of the file browser
>> says (in german) "select public SSH Key". I guess it still wants a
>> private one instead.
>
>
> 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?

>
> 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.

> 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



-- 
regards,
    Reinhard

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 4 06:55:05 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.