From ionic@ionic.de Wed Feb 22 11:22:45 2017 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= Subject: Re: x2goclient Doesn't Use libssh Config File To: Matthew Rubenstein , 1121@bugs.x2go.org References: <1480703268.1913.24.camel@blue-green-group.com> From: Mihai Moldovan 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" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iGKbipXnb2R7BM8DcqhG65oVokFeBAbrn Content-Type: multipart/mixed; boundary="efOVnxFbxlRf5nW0DTUMsMOvxr7W9w0Fj"; protected-headers="v1" From: Mihai Moldovan To: Matthew Rubenstein , 1121@bugs.x2go.org Message-ID: <38dc9ec3-eb98-dfd2-4afd-12250c0e8de9@ionic.de> Subject: Re: x2goclient Doesn't Use libssh Config File References: <1480703268.1913.24.camel@blue-green-group.com> In-Reply-To: <1480703268.1913.24.camel@blue-green-group.com> --efOVnxFbxlRf5nW0DTUMsMOvxr7W9w0Fj Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 global= ly? 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 late= r. 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 b= it non-obvious to use. For using the address specified in the config file, simply supply the sho= rtname in the session's host field. Likewise, to make X2Go Client use the user name specified in the ssh clie= nt 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 u= ser name for this shortname and you leave the field empty, X2Go Client will i= nstead connect with the username you are currently logged in on your local machi= ne.) 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 tric= ky, 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= =2E Mihai --efOVnxFbxlRf5nW0DTUMsMOvxr7W9w0Fj-- --iGKbipXnb2R7BM8DcqhG65oVokFeBAbrn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJYrWZrAAoJEB/WLtluJTqHyzwQANLpa+N6zlZs1B5pq66I+w36 Ts2eJWxAt8SeVkCGsjldL9ys+gN8GBqpwWyEHG3D3czBliIaXxYMy8VVCSzYZHSF W+3iX4w8gN5J5OMTfN7T9Eb6aS9arWuj4tbkPFKd4kAYRn6YYo3/kEk3B7V8wP2r eI9n52IuEkthmCVnqjbVisI0otOFq89+fLThBcRIv9iu7kjMgEEs9hl6kJORONr1 ywwhrHwwKZFqzmn/R/19P37PFKAlXTMvzCQSHoEu+scJwFGFN/wdYJb93QYenWs4 lqCpgUP4G9qtMwmR3IExxielUN75HoPXnqykYGa68hwdrhBukc78srwbAaRX0Z5L Xw8boAW5RxxTO3TUTKz0Qj6EJRSs+tdJ4/PzIj1nJSCN1DjlpdCZZz6V5270k89U FomSZjHwQ+GX8AVtx+3uZxsuTI5j/rECo1vd7Yi9Hk8rCECN/gELeLiQOzM+NsLV fA1mLtCP94P5UnIPCf1fJnOqKPpvrgUSLgJvdSBQDm0tFg83UPJloXMipZYRfTZ/ 6JBspf0NEn3JK1eokIZDuk03rnLkqjAJ1Lm9tfHoAaHhTWB+WH2mlj/IUv2V0Ex4 nF0nNUXSWX0g1DN0gmA0cV8HiAYrxJkmLQLBy4dSOCBvtpz3hpcPC75flxpfLtax 5oBsLkYCk8HB6vch2Z+g =5DRH -----END PGP SIGNATURE----- --iGKbipXnb2R7BM8DcqhG65oVokFeBAbrn--