Re: X11 article, for review (take 2)
Re: X11 article, for review (take 2)
- Subject: Re: X11 article, for review (take 2)
- From: Randy Ford <email@hidden>
- Date: Mon, 31 Mar 2003 20:24:21 -0600
On Monday, March 31, 2003, at 07:32 PM, Rich Morin wrote:
Can someone explain the ins and outs of X11 Forwarding under ssh?
* Is setting "ForwardX11 yes" in /etc/ssh_config equivalent to adding
the "-X" flag to every ssh command? From my tests, it seems to be.
As far as I know. However, I had one place where setting ForwardX11 to
yes worked, but the -X flag didn't.
* How does the X11Forwarding flag (in /etc/sshd_config) affect the
situation? It seems like using the "-X" flag is letting my FreeBSD
box display apps on my OSX machine's X11 server. How would this be
different if X11Forwarding was enabled on the remote machine?
Ssh is the client; sshd is the server. I order for X11 forwarding to
work, it must be enabled on the server (sshd_config) and must be
requested by the client (ssh -X or ssh_config.)
More to the point, what benefits would this provide and how would
the user have to configure things to take advantage of them?
The tradeoff is typing the extra three characters every time one ssh's,
but having it work the same way from all machines one uses. Other
machines may not have X11 forwarding set as the default in ssh_config.
IIRC, you were aliasing the ssh command anyway, so setting X11
forwarding in ssh_config won't save any keystrokes. However, one could
go back an look at the alias if one were having problems on a different
machine.
randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.