mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-01 15:59:22 +01:00
sshd_config: add commented AcceptEnv
and reason why it's commented, security, ShellShock worked with remotely sent environent variables even with restricted accounts.
This commit is contained in:
parent
90c86466dd
commit
c3f351d21f
@ -25,6 +25,10 @@ HostKey /etc/ssh/ssh_host_rsa_key
|
|||||||
## Debian
|
## Debian
|
||||||
#Subsystem sftp /usr/lib/openssh/sftp-server
|
#Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
|
|
||||||
|
# Nothing is Accepted for security reasons, e.g. shellshock worked with
|
||||||
|
# remotely accepted environment variables.
|
||||||
|
#AcceptEnv LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
LogLevel VERBOSE
|
LogLevel VERBOSE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user