From f5403bd13afe6e87c1832fecf22f1c53fa7f5155 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 13 May 2020 09:06:41 +0100 Subject: [PATCH] Make comment more clear about SSH_COMPRESSION options --- dev/ofunctions.sh | 4 ++-- sync.conf.example | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 055f67c..b6e6566 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -31,7 +31,7 @@ #### OFUNCTIONS MINI SUBSET #### #### OFUNCTIONS MICRO SUBSET #### _OFUNCTIONS_VERSION=2.3.0-RC4 -_OFUNCTIONS_BUILD=2020050302 +_OFUNCTIONS_BUILD=2020051301 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -2010,7 +2010,7 @@ function PreInit { if [ "$SSH_COMPRESSION" != false ]; then SSH_COMP=-C else - SSH_COMP= + SSH_COMP="-o Compression=no" fi ## Ignore SSH known host verification diff --git a/sync.conf.example b/sync.conf.example index f489eb8..f85388b 100644 --- a/sync.conf.example +++ b/sync.conf.example @@ -72,8 +72,10 @@ SSH_COMPRESSION=true ## arcfour isn't accepted on most newer systems, you may then prefer any AES encryption if processor has aes-ni hardware acceleration ## If the system does not provide hardware assisted acceleration, chacha20-poly1305@openssh.com is a good cipher to select ## See: https://wiki.csnu.org/index.php/SSH_ciphers_speed_comparison +## -o Compression=no is already handled by SSH_COMPRESSION option ## Uncomment the following line to use those optimizations, on secured links only -#SSH_OPTIONAL_ARGS="-T -c aes128-ctr -o Compression=no -x" +#SSH_OPTIONAL_ARGS="-T -c aes128-ctr -x" +#SSH_OPTIONAL_ARGS="-T -c chacha20-poly1305@openssh.com -x" ## Ignore ssh known hosts. DANGER WILL ROBINSON DANGER ! This can lead to security issues. Only enable this if you know what you're doing. SSH_IGNORE_KNOWN_HOSTS=false