I am on Ubuntu 14.04 and trying to get my head around
My default ssh_config contains the following lines:
# ForwardX11 no # ForwardX11Trusted yes
man ssh_config tells me that:
1. command-line options 2. user's configuration file (~/.ssh/config) 3. system-wide configuration file (/etc/ssh/ssh_config)
ForwardX11.default == no and
ForwardX11Trusted.default == yes.
Now my questions:
I take it that 1. takes precedence over 2. over 3. None is specified, thus the default settings should be applied, i.e.
ForwardX11Trusted == yes. If I SSH into a remote machine without the
-Xoption, X11 forwarding does not work.
If I specify
-X, X11 forwarding works but it seems to be in trusted mode?
If I set
ForwardX11 no ForwardX11Trusted no
/etc/ssh/ssh_config, I can now choose the mode correctly with the
-Ycommand line options. But, while the forwarding causes roughly .5 MBit of traffic in
-Ymode, it hogs 6-10 MBit in
If I explicitly set
SSH still ignores the
ssh_configfile. I still need to specify
ssh -X [...].
Why does SSH seem to ignore both the default settings and the config file?