dropped -Y flag from ssh due to potential insecurity
authorChris Koeritz <cak0l@virginia.edu>
Sun, 1 Nov 2020 15:13:38 +0000 (10:13 -0500)
committerChris Koeritz <cak0l@virginia.edu>
Sun, 1 Nov 2020 15:13:38 +0000 (10:13 -0500)
scripts/core/functions.sh

index 28c2f05822fc851b0f0025cc09147ef806bdde43..9f390546ee5c3ee0c9dcb7af190c454100277d2a 100644 (file)
@@ -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"