From 0dfb3a6057c01dab12bfb1ad9cc97cfbe3ef96fd Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Tue, 26 Nov 2024 10:43:40 -0700 Subject: [PATCH] disable strict host checking in test --- apps/wolfsshd/test/sshd_term_close_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/wolfsshd/test/sshd_term_close_test.sh b/apps/wolfsshd/test/sshd_term_close_test.sh index d0e464f5..2015c301 100755 --- a/apps/wolfsshd/test/sshd_term_close_test.sh +++ b/apps/wolfsshd/test/sshd_term_close_test.sh @@ -19,13 +19,13 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openssl-1.1.1/lib # get the current wolfsshd pid count to compare with WOLFSSHD_PID_COUNT=$(pgrep wolfsshd | wc -l) -COMMAND="$TEST_CLIENT -p $2 -i $PRIVATE_KEY $3@$1 \"echo test\"" +COMMAND="$TEST_CLIENT -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"echo test\"" echo "$COMMAND" set -e $COMMAND set +e -COMMAND="timeout 3 $TEST_CLIENT -p $2 -i $PRIVATE_KEY $3@$1 \"sleep 10\"" +COMMAND="timeout 3 $TEST_CLIENT -o StrictHostKeyChecking=no -p $2 -i $PRIVATE_KEY $3@$1 \"sleep 10\"" echo "$COMMAND &" $COMMAND & sleep 1