Subject: Bug#1304: x2go client - fails to get ssh key password from agent on kde

From: Administrator <[email-masked]>
Date: Mon, 04 Jun 2018 10:04:57 +0100

Package: x2goclient

Version: 4.1.0.0

$ rpm -qa:
x2goclient-4.1.0.0-1.1.x86_64
x2goagent-3.5.0.32-3.1.x86_64
x2gocdmanager-1.1.0.2-1.1.x86_64
x2gousbmount-1.1.0.2-1.1.x86_64

platform opensuse 42.2:
$ uname -a
Linux epping 4.4.104-18.44-default #1 SMP Thu Jan 4 08:07:55 UTC 2018 (05a9de6) x86_64 x86_64 x86_64 GNU/Linux

$ ssh -V
OpenSSH_7.2p2, OpenSSL 1.0.2j-fips  26 Sep 2016

What happens:
use ssh key with password in session config to connect to x2go server.
client asks for key password despite kde ssh agent running and normal ssh using agent to get password.
cleint asks for key password each time client resumes session.

Both are wrong: as a minimum it should use the local agent to get the key password and connect without request for key password.
what should happen:
Better is if it does that, and (in both circumstances) uses the key as authentication, i.e. without requiring user password.