PHTN-67-000055 - The Photon operating system must configure sshd with a specific ListenAddress.

Information

Without specifying a ListenAddress, sshd will listen on all interfaces. In situations with multiple interfaces, this may not be intended behavior and could lead to offering remote access on an unapproved network.

Solution

Open /etc/ssh/sshd_config with a text editor.

Ensure that the 'ListenAddress' line is uncommented and set to a valid local IP:

Example:

ListenAddress 169.254.1.2

Replace '169.254.1.2' with the management address of the VCSA.

At the command line, execute the following command:

# service sshd reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip