Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Anolis OS 23
Services
SSH Server
Configure OpenSSH Server if Necessary
Disable X11 Forwarding
Disable X11 Forwarding
An XCCDF Rule
Details
Profiles
Prose
Disable X11 Forwarding
Medium Severity
The X11Forwarding parameter provides the ability to tunnel X11 traffic through the connection to enable remote graphic connections. SSH has the capability to encrypt remote X11 connections when SSH's
X11Forwarding
option is enabled.
The default SSH configuration disables X11Forwarding. The appropriate configuration is used if no value is set for
X11Forwarding
.
To explicitly disable X11 Forwarding, add or correct the following line in
/etc/ssh/sshd_config
:
X11Forwarding no