From: Simon Ruderich Date: Sun, 7 Nov 2021 09:29:06 +0000 (+0100) Subject: shell: ssh_config, sshd_config: remove empty SendEnv/AcceptEnv X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=45c43298d87faec99847d517b5322070a74b9d36 shell: ssh_config, sshd_config: remove empty SendEnv/AcceptEnv Openssh 8.7 uses a stricter parser which does not permit empty option values. --- diff --git a/shell/ssh_config b/shell/ssh_config index 845e4e1..cf05b9b 100644 --- a/shell/ssh_config +++ b/shell/ssh_config @@ -128,9 +128,6 @@ Host * # Don't permit running local commands (default). PermitLocalCommand no -# Don't send any environment variables (default). - SendEnv - # Don't hash any hosts in ~/.ssh/known_hosts. It doesn't help if the ssh hosts # are stored in the shell's history file or in this file as shortcut so it's # rather useless (default). diff --git a/shell/sshd_config b/shell/sshd_config index 791613d..d845bc7 100644 --- a/shell/sshd_config +++ b/shell/sshd_config @@ -59,8 +59,6 @@ StrictModes yes # peer". MaxSessions 30 -# Don't accept any environment variables from the client (default). -AcceptEnv # Don't use ~/.ssh/environment and environment= options in # ~/.ssh/authorized_keys because LD_PRELOAD could be used to circumvent # authentications (default).