X2Go Bug report logs - #1121
x2goclient Doesn't Use libssh Config File

version graph

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

Reported by: Matthew Rubenstein <matthew.rubenstein@blue-green-group.com>

Date: Fri, 2 Dec 2016 18:30:01 UTC

Severity: wishlist

Tags: pending

Merged with 212

Found in versions 4.0.5.1, 4.0.1.0

Fixed in version 4.1.1.0

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1121: x2goclient Doesn't Use libssh Config File
Reply-To: Mihai Moldovan <ionic@ionic.de>, 1121@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 22 Feb 2017 10:25:01 +0000
Resent-Message-ID: <handler.1121.B1121.148775896627795@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1121
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: pending
Received: via spool by 1121-submit@bugs.x2go.org id=B1121.148775896627795
          (code B ref 1121); Wed, 22 Feb 2017 10:25:01 +0000
Received: (at 1121) by bugs.x2go.org; 22 Feb 2017 10:22:46 +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.1 required=3.0 tests=BAYES_40,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B9D1348336
	for <1121@bugs.x2go.org>; Wed, 22 Feb 2017 11:22:44 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UwW1eSBwCAeL for <1121@bugs.x2go.org>;
	Wed, 22 Feb 2017 11:22:37 +0100 (CET)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 3343548335
	for <1121@bugs.x2go.org>; Wed, 22 Feb 2017 11:22:37 +0100 (CET)
Received: from nopileos.local (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id 7D3814F00609;
	Wed, 22 Feb 2017 11:22:36 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1487758956; bh=ExKCb0h+UFdHAQ+nFT0P3IESQPCNzOJ19jCb8NdnJEY=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=twg8q4TnQFeN6F5KlBKjXVLEIC8g8xO1rOBM6XreKtBPKxHE/ElDZvvnKdLMJDKfV
	 ntD/Lz17kIu8HuJDwsgdWdwAwcn1tLCr96uzsOI5efr5Us3dYPArR/lflCfudscF3K
	 nfQ8wxhHcawg9f2rI6vyLSodSTkjeRs5jUnvXkzg=
To: Matthew Rubenstein <matthew.rubenstein@blue-green-group.com>,
 1121@bugs.x2go.org
References: <1480703268.1913.24.camel@blue-green-group.com>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <38dc9ec3-eb98-dfd2-4afd-12250c0e8de9@ionic.de>
Date: Wed, 22 Feb 2017 11:22:33 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <1480703268.1913.24.camel@blue-green-group.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="iGKbipXnb2R7BM8DcqhG65oVokFeBAbrn"
[Message part 1 (text/plain, inline)]
On 02.12.2016 07:27 PM, Matthew Rubenstein wrote:
> 	The Session preferences dialog's Connection tab could expose a
> file open dialog to select a config file. That file open dialog could
> default to the user's .ssh directory, or else to the directory
> specified in the Session tab's "Use RSA/DSA key [...]" value if any.

I didn't implement this part, though. Could do it, but then what would be the
right place for it? General preferences, so that you can define it globally?
Per-session? Would mean passing this option around all the time, though.

I think we're fine with just parsing the default config file for now.

If really strictly needed, I can always implement a setting for this later. For
now let's keep it like this - at least we *have* config file parsing now.


I think I should explain some nifty features, though.

For a specific shortname, you can set the Host, User and Port parameters in the
config file as well. I implemented support for that as well, but it's a bit
non-obvious to use.

For using the address specified in the config file, simply supply the shortname
in the session's host field.

Likewise, to make X2Go Client use the user name specified in the ssh client
config file, leave the username field in the session config EMPTY. (Note that
this a bit tricky, because if your ssh client config does NOT specify a user
name for this shortname and you leave the field empty, X2Go Client will instead
connect with the username you are currently logged in on your local machine.)

To use the port specified in the ssh client config file for the specified
shortname, set a port number of 0 in the session config. (Note: also tricky,
because if you didn't set a proper port in the ssh client config file but 0 as
the port number in the session config, libssh will use the default port - 22.)

All this works for both a direct connection and an SSH-proxied connection.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 11:10: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.