Date: Tue, 27 Jun 2006 14:22:44 -0700 From: Bill Campbell <freebsd@celestial.com> To: freebsd-questions@freebsd.org Subject: Re: SSHD errors: will not forward X11 connections Message-ID: <20060627212244.GA21589@alexis.mi.celestial.com> In-Reply-To: <1151442352.2354.29.camel@LatitudeFC5.network> References: <1151291104.2354.9.camel@LatitudeFC5.network> <20060626054413.GB36779@rebelion.Sisis.de> <1151376465.2354.24.camel@LatitudeFC5.network> <20060627073202.GA1188@rebelion.Sisis.de> <1151442352.2354.29.camel@LatitudeFC5.network>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 27, 2006, Andrew wrote: ... >Yes, I see that. But it is "complete"; I passed the '-o' flag to truss >to write _all_ output to a file. Just to be sure, I ran it again, and >diff'ed the output files; they are the same. To be clear, I do get a >shell prompt when I login via SSH. > >I'm thinking that trying to this out is going to turn into a large waste >of time... I haven't been following this thread, but from the Subject I would guess that there's may be problems with the client machine's ssh_config file, the target machines sshd_config file, or the command being executed. To enable X11 forwarding on the client side on recent versions of openssh, either the ``ssh -Y'' command or the ssh_config options ``ForwardX11'' and ``ForwardX11Trusted'' must be set to ``yes''. On the server side, the sshd_config file must have ``X11Forwarding'' set to ``yes'' to allow any client X11 forwarding. On older versions of openssh, the ``-X'' option was sufficient, but now ``-Y'' is necessary (although ``-X'' might work if ``X11Forwarding'' is ``yes'' in the ssh_config file). Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 The Constitution is a written instrument. As such, its meaning does not alter. That which it meant when it was adopted, it means now. -- SOUTH CAROLINA v. US, 199 U.S. 437, 448 (1905)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627212244.GA21589>