From 45c43298d87faec99847d517b5322070a74b9d36 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Nov 2021 10:29:06 +0100 Subject: [PATCH] shell: ssh_config, sshd_config: remove empty SendEnv/AcceptEnv Openssh 8.7 uses a stricter parser which does not permit empty option values. --- shell/ssh_config | 3 --- shell/sshd_config | 2 -- 2 files changed, 5 deletions(-) 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). -- 2.45.2