X2Go Bug report logs - #1421
journalctl flooded with ssh_channel_accept: No channel request of this type from server

version graph

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

Reported by: Sorin T <sorintsl@protonmail.com>

Date: Thu, 5 Dec 2019 12:05:02 UTC

Severity: normal

Found in version 4.1.2.1

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1421: [X2Go-Dev] Bug#1421: Bug#1421: journalctl flooded with ssh_channel_accept: No channel request of this type from server
Reply-To: Orion Poplawski <orion@nwra.com>, 1421@bugs.x2go.org, 1421@bugs.x2go.org
Resent-From: Orion Poplawski <orion@nwra.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 10 Apr 2023 19:05:02 +0000
Resent-Message-ID: <handler.1421.B1421.168115347315933@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1421
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
References: <f7J8FdpZ46lPxE3p0prkCly2vQCLfHmgIHKYvdEpAV2QHrWhLqVcggvCuIle_KQAaVnSqDySH5UIKsCGxztaDOERwY6DdcAknZWhAk92OCc=@protonmail.com> <f7J8FdpZ46lPxE3p0prkCly2vQCLfHmgIHKYvdEpAV2QHrWhLqVcggvCuIle_KQAaVnSqDySH5UIKsCGxztaDOERwY6DdcAknZWhAk92OCc=@protonmail.com> <521b89db-4104-ffb9-0f6c-15a24cb327f2@nwra.com> <f7J8FdpZ46lPxE3p0prkCly2vQCLfHmgIHKYvdEpAV2QHrWhLqVcggvCuIle_KQAaVnSqDySH5UIKsCGxztaDOERwY6DdcAknZWhAk92OCc=@protonmail.com>
Received: via spool by 1421-submit@bugs.x2go.org id=B1421.168115347315933
          (code B ref 1421); Mon, 10 Apr 2023 19:05:02 +0000
Received: (at 1421) by bugs.x2go.org; 10 Apr 2023 19:04:33 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-4.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,NICE_REPLY_A,SPF_HELO_PASS,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from GCC02-BL0-obe.outbound.protection.outlook.com (mail-bl0gcc02on20727.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d05::727])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 880A15DA7F
	for <1421@bugs.x2go.org>; Mon, 10 Apr 2023 21:04:20 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=kisfNLu1UiG4KOTxU0WkzvfSC9QmqqIST5irKTLmLcbPLzLETNWrJJpQZw7rNqB9vSLVseri/ebC1LdPEHRafZU7f7i3WrVCkVEAzuWWQiCartjYqLdt9HapJrQbncqiF6xbCyiWMUGEcqcqzPQbxmwxiHEht+Ve648D+6Mxk+ilpHj6SU6ZpTTZ1CoLErWW1prd/aZBhVK7BWkWdsyiZy3op34rMshIgssQEzgmI1vZZ49pQeaH9jxMnDNs7X1YKtyhFWpLqKkPu/jSXL6l7mLXjz4QETfjamnv1UI1EZe3H5h/wc50nyCFGUksda58D9vsfRUxW9bhBSum+u30Ig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=o2boRstbQAexU75gU8Q/QGrBPSq0Q4GVMEusTxMS5iM=;
 b=FvsDivwHxaa3+/GvND0GgUIiuPXTbmCt2KEFwCpaB5al6lQOMpHqUHm4fUI5Xsyc9tADFggPY9TrOWsuTSx+9mE+b/93tMgReb5+Aus43DqvI01wdETQq98vECoTrW+hpMinqLsrCtfq8GwTOtdM635MHxi/uMovuPNKxHGDfWfPWiyKwAxoahclka9JqflvWBgN2zrOAAgi60EUb3V4fkBo2q+iMfx9vPiOmDOvYHSob2L2scicknv62yrR8hn3DDHFZNjg3FNhf1VBPD6Ruo4d5qT7Dv28vnaiwOm/iIMeC0l+DVdoKon+HaGx0Z8NQvMK7Lw0FvTSR4VRG0lkrA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=nwra.com; dmarc=pass action=none header.from=nwra.com;
 dkim=pass header.d=nwra.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nwra.com; s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=o2boRstbQAexU75gU8Q/QGrBPSq0Q4GVMEusTxMS5iM=;
 b=S/wCcgOTA2EpXHYiuEqTKEukhBDcC0/o+mAEwOCWYfvDxILKrC9iERnxDLLjcD6dxa7q4JdFz6i7EsTkpPIWm50gmg8Evbo9k2otY6oo7x+ESQXbBFCJEMGo5+7wKNtfn02ksmO1cnmPwiTRr5u3CcyCUYkAHzCpzHolNkR/xWsazkIKnoIcMV7Xcxg9X4D35Au0AZ8pl6XK0vIjMc4nOQZNMO3fa54rs7UFuSqii4sLubZFd6cEg7AoPBFNpdysWkWSz+5Igk9otP2OUcgAKyhMPSDfSefGw0oZiWCxoFxRv9J/h7LamdCvLbJTMjaG6uwhhVZpUg87KTMKEK/0ng==
Authentication-Results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=nwra.com;
Received: from SJ0PR09MB6318.namprd09.prod.outlook.com (2603:10b6:a03:26b::14)
 by BY5PR09MB4625.namprd09.prod.outlook.com (2603:10b6:a03:243::10) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Mon, 10 Apr
 2023 19:04:17 +0000
Received: from SJ0PR09MB6318.namprd09.prod.outlook.com
 ([fe80::e144:f51:101a:f72]) by SJ0PR09MB6318.namprd09.prod.outlook.com
 ([fe80::e144:f51:101a:f72%3]) with mapi id 15.20.6277.036; Mon, 10 Apr 2023
 19:04:17 +0000
Message-ID: <10b5d65c-7be0-2e35-1fee-09e129ad38ab@nwra.com>
Date: Mon, 10 Apr 2023 13:04:13 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.9.0
Content-Language: en-US
From: Orion Poplawski <orion@nwra.com>
To: 1421@bugs.x2go.org
Organization: NWRA
In-Reply-To: <521b89db-4104-ffb9-0f6c-15a24cb327f2@nwra.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms010902020507050401010706"
X-ClientProxiedBy: CY5PR22CA0107.namprd22.prod.outlook.com
 (2603:10b6:930:65::17) To SJ0PR09MB6318.namprd09.prod.outlook.com
 (2603:10b6:a03:26b::14)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SJ0PR09MB6318:EE_|BY5PR09MB4625:EE_
X-MS-Office365-Filtering-Correlation-Id: ed6d9cb4-cc7d-4314-dff9-08db39f661e0
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
	sz3x4nHsF74tLC0QFBvPoD5IG1kSG2wKeKEDNygtcLA4MASnvpoYX6Rem6trcdax8xMHioJFi+9jow52KU/i4WPUhNeQYqvp26XzUdl7X3eArAO8nF7LmmsP80XAAop8zJD+HXHudrw/YXjEY5SXJdHjwTIoqt5M0xdPW1jjvCkM9yXsENNQA7m2s/E1hFwUhRGluBK1ABvTDGUdwk0ApJZw4HCzR7AiqyeaGk8vcfV1zg4l2Py3J7UUYmAJi4Vo/j+T4CctejggkziDzqakCZW1oJtMjXb4b91sgXOA4Yq+076/DqqVjoEcrj3ufsLZuFmQpr5GTtRi/v7fJncQfUGZiivknEvsKvAURYYE0ncj1W6d5JW/lkE0TuF/Dbv/aKbYG77NhdYNsJa5W8Vla/PLIJkhAnM5hhMV7KWe+Y/R6EV5zE4v+fFRqE5lOdrPh3C3R46BmXB79mkw4GL6IW3lkScbV8lUw5olthq14KNyp3z3C2Z6+BboMO2wR5kUTIRN9B1XmIVaQ5rPpyRNGDWA7iVR4CUlK1yoBd/9f5yYF1/cKNOGY0OjDjHl8jUfDNoeExX2eazU1TMIZ+E3425NLwmMeOhn66yr3HKkBbssOEYwVfGDh/Fn/ewMG4vyQtVUOlCYxIZ6QkjZHauMRA==
X-Forefront-Antispam-Report:
	CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR09MB6318.namprd09.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(366004)(396003)(136003)(39830400003)(451199021)(508600001)(36916002)(41320700001)(6512007)(53546011)(33964004)(26005)(235185007)(6506007)(186003)(966005)(6486002)(6666004)(2906002)(5660300002)(66946007)(8936002)(8676002)(6916009)(41300700001)(66476007)(66556008)(38100700002)(86362001)(31696002)(40140700001)(36756003)(83380400001)(2616005)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0:
	JnA3kIjAOOHr7xY/yYVDFPGddm5DAu35F00pyIjjZcjmCSjBJeMmsMnujnY57pltelix85RIvVIsd7TG3dvNNbIPq+yMDGFvKlN1ePhpyGzS4zbCHSnssI9MmJ5SINQBLe1CeDpYQFhsBv3nZwujyYfoCRRVnRdLNAztSCHfjyMkNCql1TIsgSwRmciDwxpyE6jxxbvOupNoyJ1+FqJDcXyenhTFhItVJA6aps6szQasceZoe72xQlg3+rXkqrSDg8d8+Tw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vUQ0+GnHYI9y05WWv6cshu68TJR0rSJexLbojk4pbJXNSpsbOyDCdNnWmmlO8FGWT8HiC+VWxPHsVkpOVep148TUOIjBvHTD7bUOc2S5+tRgJa/CqLGJqRtCetcfZUXi4dMtpeuR1QfgUyDx6huMeBLsLOEetMWnCpIUfLDdmLVNxYs0h5ROf+Kspqxs/H/RXUvPl6Il+JCyGOUoZOA1DbcGVJUS4ZDmfPedvx3eOSQwqyAAOI5tPV4uJudmBaOErUjE4fmugo8
X-OriginatorOrg: nwra.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ed6d9cb4-cc7d-4314-dff9-08db39f661e0
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR09MB6318.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2023 19:04:17.2569
 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 761303a3-2ec2-424e-8122-be8b689b4996
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR09MB4625
[Message part 1 (text/plain, inline)]
On 4/10/23 12:09, Orion Poplawski wrote:
> On 12/5/19 05:02, Sorin T wrote:
>> Package: x2goclient
>> Version: 4.1.2.1
>>
>>
>> This output is shown continuously. I have also disabled the Media and the Shared folders options.
>>
>> [2019/12/05 12:21:49.755356, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:49.844514, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:49.844968, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:50.345651, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:50.846330, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:51.347011, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:51.354536, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:51.355837, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:51.358011, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:51.858687, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:52.359381, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:52.860074, 1] ssh_channel_accept: No channel request of this
>> type from server
>> [2019/12/05 12:21:53.360787, 1] ssh_channel_accept: No channel request of this
>> type from server
>>
>> It could be a ssh config problem ? I am using on client machine:
>> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
>>
>> Guest OS: Debian based
>> Guest ssh version: OpenSSH_7.9p1 Debian-10, OpenSSL 1.1.1d  10 Sep 2019
>> Guest x2goserver: 4.1.0.3-4
> 
> 
> I'm seeing the same thing.
> 
> Client:
> AlmaLinux 8.7
> x2goclient-4.1.2.2-1.el8.x86_64
> libssh-0.9.6-3.el8.x86_64
> 
> Server:
> Either EL7/8
> openssh-7.4p1-22.el7_9.x86_64
> x2goserver-4.1.0.3-9.el7.x86_64
> 
> openssh-8.0p1-17.el8_7.x86_64
> x2goserver-4.1.0.3-17.el8.1.x86_64
> 
> x2goclient --debug --libssh-debug doesn't yield any more info.
> 
> [2023/04/10 12:02:04.013887, 1] ssh_config_parse_line:  Unsupported option:
> PreferredAuthentications, line: 60
> [2023/04/10 12:02:04.013984, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 64
> [2023/04/10 12:02:04.014018, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 67
> [2023/04/10 12:02:04.014049, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 71
> [2023/04/10 12:02:04.014088, 1] ssh_config_parse_line:  Unsupported option:
> TCPKeepAlive, line: 77
> [2023/04/10 12:02:04.025702, 1] socket_callback_connected:  Socket connection
> callback: 1 (0)
> [2023/04/10 12:02:04.588049, 1] ssh_key_cmp:  key types don't match!
> [2023/04/10 12:02:04.588326, 1] ssh_key_cmp:  key types don't match!
> [2023/04/10 12:02:04.588388, 1] ssh_key_cmp:  key types don't match!
> [2023/04/10 12:02:04.694913, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 4
> [2023/04/10 12:02:04.695018, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 7
> [2023/04/10 12:02:04.695062, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 14
> [2023/04/10 12:02:04.695093, 1] ssh_config_parse_line:  Unsupported option:
> HostKeyAlias, line: 19
> [2023/04/10 12:02:04.716659, 1] ssh_config_parse_line:  Unsupported option:
> PreferredAuthentications, line: 60
> [2023/04/10 12:02:04.716761, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 64
> [2023/04/10 12:02:04.716811, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 67
> [2023/04/10 12:02:04.716862, 1] ssh_config_parse_line:  Unsupported option:
> ForwardAgent, line: 71
> [2023/04/10 12:02:04.716904, 1] ssh_config_parse_line:  Unsupported option:
> TCPKeepAlive, line: 77
> [2023/04/10 12:02:08.024493, 1] ssh_channel_accept:  No channel request of
> this type from server
> [2023/04/10 12:02:08.027575, 1] ssh_channel_accept:  No channel request of
> this type from server
> [2023/04/10 12:02:08.029534, 1] ssh_channel_accept:  No channel request of
> this type from server
> [2023/04/10 12:02:08.030156, 1] ssh_channel_accept:  No channel request of
> this type from server
> [2023/04/10 12:02:08.030814, 1] ssh_channel_accept:  No channel request of
> this type from server
> [2023/04/10 12:02:08.031476, 1] ssh_channel_accept:  No channel request of
> this type from server
> ....


Seems like this issue may have been around nearly forever, but I guess
something changed at some point in the x2go or libssh logging setup that
allowed the ssh errors to get printed.  Basically, x2goclient loops forever
doing (among other things):

        addReverseTunnelConnections();
        checkReverseTunnelConnections();


checkReverseTunnelConnections() calls ssh_channel_accept_forward() which sets
an error if no channel request exists.

Now normally this doesn't get logged because x2goclient sets the libssh log
level to LOG_SSH_NOLOG (quite likely for this very reason).  However, I'm setting:

   LogLevel ERROR

in my ~/.ssh/config file - which has the effect of setting the libssh log
level to 1 and so the errors are printed.

Now, it does seem incredibly inefficient for x2goclient to repeatedly call
ssh_channel_accept_forward() if there are no forwarded connections to accept.
Is there any other way to do what is needed here?



-- 
Orion Poplawski
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                 https://www.nwra.com/

[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue May 7 23:22:07 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.