Disabling SSH X11 Forwarding

This section describes the procedure to disable SSH X11 Forwarding.

Run the following procedure for each and every server in the topology:
  1. Log in as admusr on the server.
    login: admusr
    Password: <current admin user password>
  2. Run the following command to check out the file sshd_config:
    $ sudo rcstool co /etc/ssh/sshd_config
  3. Run the following command:
    $ sudo sed -i '/X11Forwarding yes/s/^/#/g' /etc/ssh/sshd_config
    $ sudo sed -i '/X11Forwarding no/s/^#//g' /etc/ssh/sshd_config
  4. Check in the file sshd_config:
    $ sudo rcstool ci /etc/ssh/sshd_config