aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-01 17:47:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-01 17:47:54 -0300
commit982ca1e89a6c4014bf34273f6f42d140d35a4967 (patch)
tree661a2255f2fd5bd8e7b76bb564884d615432d62d
parentdc49dff6088323b6b5133a7b7fd6299340823494 (diff)
downloadkvmx-982ca1e89a6c4014bf34273f6f42d140d35a4967.tar.gz
kvmx-982ca1e89a6c4014bf34273f6f42d140d35a4967.tar.bz2
Achieve faster SSH speeds using chacha20-poly1305@openssh.com
-rwxr-xr-xkvmx3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index c5bfcd6..aa3fd3c 100755
--- a/kvmx
+++ b/kvmx
@@ -60,7 +60,8 @@ function kvmx_app_base {
# Build a SSH command
function __kvmx_ssh_command {
- SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=FATAL -o ProxyCommand=none -i $1"
+ # See http://blog.djm.net.au/2013/11/chacha20-and-poly1305-in-openssh.html
+ SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=FATAL -o ProxyCommand=none -o Ciphers=chacha20-poly1305@openssh.com -i $1"
}
# Create a guest entry at the global user config folder