From nobody Wed Mar 22 16:09:46 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhYMs6VVnz411KK for ; Wed, 22 Mar 2023 16:10:01 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhYMs0XDgz3KcT for ; Wed, 22 Mar 2023 16:10:00 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 32MG9lTM040747 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 22 Mar 2023 09:09:47 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 32MG9lXl040746; Wed, 22 Mar 2023 09:09:47 -0700 (PDT) (envelope-from fbsd) Date: Wed, 22 Mar 2023 09:09:46 -0700 From: bob prohaska To: "Daniel O'Connor" Cc: freebsd-arm@freebsd.org Subject: Re: Persuading ssh -X to work from a RasPiOS system Message-ID: <20230322160946.GA40692@www.zefox.net> References: <20230321232926.GA37569@www.zefox.net> <20230322005957.GA37774@www.zefox.net> <5DC85526-F029-4B39-B680-015E33E2F68F@dons.net.au> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5DC85526-F029-4B39-B680-015E33E2F68F@dons.net.au> X-Rspamd-Queue-Id: 4PhYMs0XDgz3KcT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Mar 22, 2023 at 11:32:07AM +1030, Daniel O'Connor wrote: > > You could try "ssh -vvvvvX user@freebsdhost" and see if there are messages about X11 forwarding. > Ahh, that gives a hint, maybe: ssh -vvvvvY user@freebsdhost ........ [long list of authentication negotiations] ...... debug1: Authentication succeeded (keyboard-interactive). ...... debug1: Requesting X11 forwarding with authentication spoofing. debug2: channel 0: request x11-req confirm 1 debug3: send packet: type 98 debug2: fd 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x10 debug2: client_session2_setup: id 0 debug2: channel 0: request pty-req confirm 1 debug3: send packet: type 98 debug1: Sending environment. debug3: Ignored env SHELL debug3: Ignored env COLORTERM [long list of environment variables ignored] There is nothing I recognize as an error among the authentication negotiations, only absence of files needed for things other than keyboard-interactive. Since that works, it's unclear why the various env variables are being ignored. It appears that ssh -X behaves exactly as ssh -Y, at least to visual inspection. As I read them, the man pages seem to imply -X should no longer work, but -Y should behave exactly as -X once did. Am I mistaken on this? Thanks for writing! bob prohaska