ESXI-06-000023 - The SSH daemon must be configured to not allow X11 forwarding.

Information

X11 forwarding over SSH allows for the secure remote execution of X11-based applications. This feature can increase the attack surface of an SSH connection.

Solution

To set the X11Forwarding setting, add or correct the following line in '/etc/ssh/sshd_config':

X11Forwarding no

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMware_vSphere_6-0_ESXi_V1R5_STIG.zip