From 4a23aa495a1e7be08b34335bcedf77ba31bed0e4 Mon Sep 17 00:00:00 2001 From: Craig MacGregor Date: Thu, 7 May 2020 13:07:38 -0400 Subject: [PATCH] StrictHostKeyChecking=off should be StrictHostKeyChecking=no --- .../hudson/plugins/ec2/HostKeyVerificationStrategyEnum.java | 2 +- .../ec2/SlaveTemplate/help-hostKeyVerificationStrategy.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/hudson/plugins/ec2/HostKeyVerificationStrategyEnum.java b/src/main/java/hudson/plugins/ec2/HostKeyVerificationStrategyEnum.java index 41060b258..69b8af71a 100644 --- a/src/main/java/hudson/plugins/ec2/HostKeyVerificationStrategyEnum.java +++ b/src/main/java/hudson/plugins/ec2/HostKeyVerificationStrategyEnum.java @@ -34,7 +34,7 @@ public enum HostKeyVerificationStrategyEnum { CHECK_NEW_HARD("check-new-hard", "yes", new CheckNewHardStrategy()), CHECK_NEW_SOFT("check-new-soft", "accept-new", new CheckNewSoftStrategy()), ACCEPT_NEW("accept-new", "accept-new", new AcceptNewStrategy()), - OFF("off", "off", new NonVerifyingKeyVerificationStrategy()); + OFF("off", "no", new NonVerifyingKeyVerificationStrategy()); private final String displayText; private final SshHostKeyVerificationStrategy strategy; diff --git a/src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-hostKeyVerificationStrategy.html b/src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-hostKeyVerificationStrategy.html index 5d9344649..b2a08ccae 100644 --- a/src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-hostKeyVerificationStrategy.html +++ b/src/main/resources/hudson/plugins/ec2/SlaveTemplate/help-hostKeyVerificationStrategy.html @@ -35,9 +35,9 @@
  • check-new-hard = yes
  • check-new-soft = accept-new
  • accept-new = accept-new
  • -
  • off = off
  • +
  • off = no
  • Note: With the check-new-hard and check-new-soft strategies you may need to increase the Launch Timeout in seconds because it will now take until the instance console is ready, which could be several minutes. If the field is blank, it means there is no time-out which will wait indefinitely for the console. - \ No newline at end of file +