diff options
author | Robert Guo <robert.guo@mongodb.com> | 2021-02-22 18:23:28 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-05 14:05:43 +0000 |
commit | c1b7df6d0270e7077d40bcd718e648cbb579545e (patch) | |
tree | 4c075113f31af94c35a1a67ab8a21ec30a0c0b3c /buildscripts/resmokelib/powercycle/powercycle_constants.py | |
parent | 546ec2777f2da71903aca5d881c1cf7a9d73bc22 (diff) | |
download | mongo-c1b7df6d0270e7077d40bcd718e648cbb579545e.tar.gz |
SERVER-53693 add powercycle help message and additional cleanup
Diffstat (limited to 'buildscripts/resmokelib/powercycle/powercycle_constants.py')
-rw-r--r-- | buildscripts/resmokelib/powercycle/powercycle_constants.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/powercycle/powercycle_constants.py b/buildscripts/resmokelib/powercycle/powercycle_constants.py index 799f8c229ad..5b44c3fb330 100644 --- a/buildscripts/resmokelib/powercycle/powercycle_constants.py +++ b/buildscripts/resmokelib/powercycle/powercycle_constants.py @@ -1,11 +1,17 @@ """Powercycle constants.""" EXPANSIONS_FILE = "expansions.yml" + +# For ssh disable the options GSSAPIAuthentication, CheckHostIP, StrictHostKeyChecking +# & UserKnownHostsFile, since these are local connections from one AWS instance to another. DEFAULT_SSH_CONNECTION_OPTIONS = ("-o ServerAliveCountMax=10" " -o ServerAliveInterval=6" " -o StrictHostKeyChecking=no" " -o ConnectTimeout=30" - " -o ConnectionAttempts=20") + " -o ConnectionAttempts=20" + " -o UserKnownHostsFile=/dev/null" + " -o GSSAPIAuthentication=no" + " -o CheckHostIP=no") MONITOR_PROC_FILE = "proc.json" MONITOR_SYSTEM_FILE = "system.json" |