aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ssh_config
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-10-14 14:01:26 +0200
committerTobias Brunner <tobias@strongswan.org>2010-10-14 14:01:26 +0200
commit7ec11936e881cd19779e88ff817091f0febac274 (patch)
treef988fe11c4cc6a7b3c13bfe5f69db380fccb438d /testing/ssh_config
parent972663ccb03e89f4a321609d3b3ff91a3359ef3f (diff)
downloadstrongswan-7ec11936e881cd19779e88ff817091f0febac274.tar.bz2
strongswan-7ec11936e881cd19779e88ff817091f0febac274.tar.xz
testing: Reduce testing runtime by reusing SSH sessions.
By using the ControlMaster and ControlPath options, existing SSH sessions are reused (a session to each host is opened at the beginning of a test run). Also, RC4 is used as encryption algorithm to further improve the performance. These changes reduce the runtime by over 20%.
Diffstat (limited to 'testing/ssh_config')
-rw-r--r--testing/ssh_config10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/ssh_config b/testing/ssh_config
new file mode 100644
index 000000000..36569c07c
--- /dev/null
+++ b/testing/ssh_config
@@ -0,0 +1,10 @@
+Host *
+ # debian default
+ SendEnv LANG LC_*
+ HashKnownHosts yes
+ GSSAPIAuthentication yes
+ # faster encryption
+ Ciphers arcfour
+ # share multiple sessions
+ ControlMaster auto
+ ControlPath /tmp/ssh-uml-%r@%h:%p