Tom Worster wrote:
> thanks, Mel, that's good to know.
> 
> i think your suggestion of modifying rc.conf will turn out to be a tidy
> solution for me.

You could also just put:

sshd_flags="-o X11Forwarding=no"

into your /etc/rc.conf file.

Pretty much all of the rc.d scripts support the use of NAME_flags being
defined in /etc/rc.conf, which are passed as extra commandline arguments
to the daemon. You should generally check /etc/defaults/rc.conf to see
what you might be clobbering. A small number of scripts may override
this feature from the library, breaking this method, but it's pretty
widely supported.

-- 
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley

Attachment: pgpdLHTVAM3EC.pgp
Description: PGP signature

Reply via email to