From unknown Wed Apr 08 13:18:53 2026
X-Loop: git-admin@x2go.org
Subject: Bug#75: fails to use RSA SSH keys
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 75@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Thu, 06 Dec 2012 08:51:41 +0000
Resent-Message-ID: <handler.75.B75.135478372514321@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 75
X-X2Go-PR-Package: pyhoca-gui
X-X2Go-PR-Keywords: 
Received: via spool by 75-submit@bugs.x2go.org id=B75.135478372514321
          (code B ref 75); Thu, 06 Dec 2012 08:51:41 +0000
Received: (at 75) by bugs.x2go.org; 6 Dec 2012 08:48:45 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id AE7213BC43
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:48:45 +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 4FA511F4
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:48:45 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 3F4ED3BB65
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:48:45 +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 y5BRRbP-sJa2 for <75@bugs.x2go.org>;
	Thu,  6 Dec 2012 09:48:45 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 211753BFD9
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:48:45 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 088803BB65
	for <75@bugs.x2go.org>; Thu,  6 Dec 2012 09:48:45 +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 6E2943BFD9; Thu,  6 Dec 2012 09:48:43 +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
 09:48:43 +0100
Message-ID: <20121206094843.1713322z943cy9d7@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 06 Dec 2012 09:48:43 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Reinhard Tartler <siretart@gmail.com>, 75@bugs.x2go.org
References:  <CAJ0cceYTWOO+o=971XZiXwCUCAxEXoHxvUSpKLJ_K52-mmVz1g@mail.gmail.com>
In-Reply-To:  <CAJ0cceYTWOO+o=971XZiXwCUCAxEXoHxvUSpKLJ_K52-mmVz1g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_2zice8k4ba3v";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

This message is in MIME format and has been PGP signed.

--=_2zice8k4ba3v
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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.

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

What is the exact SSH configuration in the sessions file? Do you use  
detction of default key names in the config?

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

--=_2zice8k4ba3v
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQwFvrAAoJEJr0azAldxsxTm0P/3M2o7E8UeWvu73rvUatrwmx
x8WjDk+aXh2d1BQvfak9T/E5Aws8mi3yaqRyjwjvHXyM/V+WbDlCKhITHMphgRLH
f3C4f2FU4lojlS45njk4ZFewT4gICciGGySXCgKnsppuUyfReWJ+ETczTgzCRcsd
saUmSPdM8epSWsVLkxkQROZBEte6CcoXl9QNJMOiq99Wx3WXs08NOvlq9wN6gWJw
+djmNaEjiVA4ATL3lC6KBat21hOUWOPKpyngb4PE3K8swEvoNfP2++aWdbx+7NED
HgLwjDX3BEsjXrc94VfbDcrZg40tMnxI9iQ81zzSR2rKftlkZDe3+jFqDBhIt82g
j7wBDSo+VlnDX425FjQz2JkeV6AG0fCAY+ql0+3lArNfRu0Xg8TwwpiqWC6nTW4n
fe24Z210MYRRIkcZaLxUXGIHYFSaxz1fiFtsGwA3bn2qRhLuGZcg1GFr4l9zQc21
j7UzTqNqJcMyrxM8pHMkElqo4hqxQbNjvqZaO3tjFlVPub5wS3tIMeGPDe0o19M1
FH67n44iiolfzB/U/D3OFL+qYaJmWtZLmOnnDyRPY8kXsnZVmWn68NezRYANPBoH
XVWOyZr0lOXPdUVs2RZNuqhk80iIEUZGF9uhGTkN4axDpd9k0eOmKZ1cIgmy4LCu
6m8Cp1Cl9555lV5QJPiG
=Ugki
-----END PGP SIGNATURE-----

--=_2zice8k4ba3v--
