From acd77159da7b6b42af83e908cddd74a2c26d38bb Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 1 Nov 2020 10:13:38 -0500 Subject: [PATCH] dropped -Y flag from ssh due to potential insecurity --- scripts/core/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 28c2f058..9f390546 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -225,7 +225,8 @@ if [ -z "$skip_all" ]; then # local oldterm="$TERM" # export TERM=linux - /usr/bin/ssh -Y -C "${args[@]}" + /usr/bin/ssh -C "${args[@]}" +# removed -Y flag because considered dangerous to trust remote hosts to not abuse our X session. # # restore the terminal variable also. # TERM="$oldterm" -- 2.34.1