From newsgroups.mail2@stefanbaur.de  Wed Jul 16 12:09:10 2014
Received: (at 512) by bugs.x2go.org; 16 Jul 2014 10:09:10 +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.0 required=5.0 tests=BAYES_20 autolearn=ham
	version=3.3.2
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id ED7F85DB4B
	for <512@bugs.x2go.org>; Wed, 16 Jul 2014 12:09:09 +0200 (CEST)
Received: from [192.168.0.3] (HSI-KBW-109-193-025-144.hsi7.kabel-badenwuerttemberg.de [109.193.25.144])
	by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis)
	id 0MfYYl-1Ww1CY2A5D-00P9OY; Wed, 16 Jul 2014 12:09:09 +0200
Message-ID: <53C64F48.5050907@stefanbaur.de>
Date: Wed, 16 Jul 2014 12:09:12 +0200
From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: 512@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#512: Bug#512: Fwd: Re: Bug#512: Bug#512: Bug#448:
 Bug#512: Auto log-in (ssh-agent) doesn't work since 4.0.1.2
References: <53C64BCB.7090702@stefanbaur.de> <53C64CEF.1010000@stefanbaur.de> <CAAQ3HY7R7bPh_CZ6UzayopDAVREAoocV3qcSCNqoGvH_bgO5-g@mail.gmail.com>
In-Reply-To: <CAAQ3HY7R7bPh_CZ6UzayopDAVREAoocV3qcSCNqoGvH_bgO5-g@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:+oM18kMmJDQa9SvTDCWmJ3FXZsZXxswUO63gUwMq72O
 lBKhTVOinXeXC5G+0V1vqaLbWZB8iXZAc41WR7Bw2mDVVK4KYa
 k0BkW+eoeiA1mLEkiXUGSR9Q8ozKuVzheun0X/VkWrJqqH3834
 swniPjNK+nBFskyJLWw3MZrBe0+lsqxZKr7TKxdj85jcNy/vNG
 LXjSsy/tqMTkD+Q5V9NUYFZ4ZweIg6GB/ZgDQra0ayD2lTBQlT
 rLLyF/iuOkeZ3AsaG6y8z2Q6OjmV7IadSN8dA+NmRZH/LmIvze
 V7FInxMtMMXRbnmw/TX3oh6Oi/TeaC8Cy4lleH+bgxne0E0ppV
 MpHSxgtbTeJqOUJRjZ+GNeeZzwY55s4B4O1kmSrr6

Am 16.07.2014 12:03, schrieb Ilia Shakitko:
> Hi Stefan,
> 
> Thx for explanation. Well, this config was taken from the old version
> (where either you DO two actions, or it won't work).
> 
> Now it works!

That can't really be. I have used 4.0.0.3 with my customers, who all use
Pageant, and they only have the checkbox checked, no keyfile specified.

My guess is that the old version simply tried SSH auth agent first, and
once it found a running agent, never bothered to check if there's a file
specified. So you could have specified C:\barak_obamas_pajamas.docx as
keyfile and it would still have worked.

I think I remember that we had a feature request to try multiple things
for ssh auth, so that may have brought that along when it was implemented.

-Stefan

