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 @@