Re: X11 article, for review (take 2)
Re: X11 article, for review (take 2)
- Subject: Re: X11 article, for review (take 2)
- From: Jim Elliott <email@hidden>
- Date: Mon, 31 Mar 2003 21:22:20 -0600
On Monday, Mar 31, 2003, at 20:28 America/Chicago, Rich Morin wrote:
At 12:07 PM +1000 4/1/03, Aaron Harwood wrote:
Changing the /etc/ssh_config allows the ssh client to receive
forwarded
X11 connections from the sshd server that it connects to.
If ssh_config is not changed to allow this then the -X option has no
effect.
This is not consistent with what I'm seeing. If I use "ssh cfcl", I am
not able to start up (say) an xclock; if I use "ssh -X cfcl", I am.
The
/etc/ssh_config on my OSX box is vanilla; no options are turned on.
Yes, the second reply was correct when stating that the client-side
configuration controls the default, but that you can override the
default with "-X". I tend to configure my machines so that the ssh
client defaults to X forwarding active, since that's usually what I
want.
The sshd_config option allows the sshd server to provide X11 forwarded
connections. Again X11Forwarding must be set to yes
for the -X option (given at the ssh client) to have effect when
connecting to the sshd server (which will allocate a display number
to the connection...you can see with echo $DISPLAY).
The sshd_config file on my server does not have this set, yet I am able
to run X11 apps remotely.
I believe this was accurate, except that the sshd_config file overrides
defaults that can be set at compile time. (Usually the file is
structured with comments that show the default value, and you can
uncomment them and change the value).
I have definitely seen most servers I deal with default to not allowing
X forwarding in sshd, and I haven't been able to get it to work until
I changed the sshd_config file.
Do the comments on your server shed any light on the situation?
-Jim
_______________________________________________
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.