projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dropped -Y flag from ssh due to potential insecurity
[feisty_meow.git]
/
scripts
/
core
/
functions.sh
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
# 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"
# # restore the terminal variable also.
# TERM="$oldterm"