Interesting Change In ssh Behavior

Bill Campbell freebsd at celestial.com
Tue Jun 19 18:09:37 UTC 2007


On Tue, Jun 19, 2007, Tim Daneliuk wrote:
>I just recently update one 6.2 and one 4.11 machine to the latest stable
>sources and built world.  Now, for some odd reason, I cannot tunnel X
>via ssh from remote clients.  Did the defaults for sshd change lately
>or is there some other culprit?

First make sure that the sshd_config file on the server machine
has ``X11Forwarding yes'' set.

You should then be able to handle x11 using ``ssh -Y command''
instead of the old ``ssh -X command''.

If you want to be able to do this without requiring the ``-Y''
option, add ``ForwardX11Trusted yes'' to the ssh_config file on
the remote machine.

Bill
--
INTERNET:   bill at 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

No man's life, liberty, or property are safe while the legislature is in
session. -- Mark Twain


More information about the freebsd-questions mailing list