projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4b35c
)
dropped -Y flag from ssh due to potential insecurity
author
Chris Koeritz
<fred@gruntose.com>
Sun, 1 Nov 2020 15:13:38 +0000
(10:13 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 1 Nov 2020 15:13:38 +0000
(10:13 -0500)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 28c2f05822fc851b0f0025cc09147ef806bdde43..9f390546ee5c3ee0c9dcb7af190c454100277d2a 100644
(file)
--- 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"