Information
The PermitUserEnvironment option allows users to present environment options to the SSH daemon.
More information about the openSSH server configuration is available in the "Configure SSH Server" section overview.
Permitting users the ability to set environment variables through the SSH daemon could potentially allow users to bypass security controls (e.g. setting an execution path that has SSH executing trojan'd programs)
Solution
Create or edit a *.conf file in the /etc/ssh/sshd_config.d/ directory to set the PermitUserEnvironment parameter to no above any Include entries as follows:
PermitUserEnvironment no