Skip to content

Commit

Permalink
disable strict host checking in test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Nov 26, 2024
1 parent 67e39a4 commit 0dfb3a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/wolfsshd/test/sshd_term_close_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0dfb3a6

Please sign in to comment.