Skip to content

Commit

Permalink
no host checking with test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Feb 24, 2025
1 parent d477c52 commit 1106664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sftp-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Can sftp connect?
working-directory: ./wolfssh/
run: |
echo exit | sftp -vvv -P 22222 -i ./keys/hansel-key-ecc.pem [email protected]
echo exit | sftp -vvv -P 22222 -o "StrictHostKeyChecking no" -i ./keys/hansel-key-ecc.pem [email protected]
- name: Run SFTP client benchmark
working-directory: ./wolfssh/
Expand All @@ -123,7 +123,7 @@ jobs:
- name: Print logs if failed
working-directory: ./wolfssh/
if: failure()
run: cat sshd-log.txt
run: sudo cat sshd-log.txt

- name: Store Upload Speed PNG
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions scripts/get-sftp-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi

do_openssh_put_test() {
cp $TEST_FILE $TEST_FILE-out
sftp_command="sftp -P$PORT -i $KEY $USER@127.0.0.1"
sftp_command="sftp -P$PORT -o \"StrictHostKeyChecking no\" -i $KEY $USER@127.0.0.1"
output_file="sftp_log.txt"

# Start the script command to capture the sftp session
Expand All @@ -37,7 +37,7 @@ EOF" /dev/null 2>&1 | tee $output_file | while read line; do

do_openssh_get_test() {
cp $TEST_FILE $TEST_FILE-out
sftp_command="sftp -P $PORT -i $KEY $USER@127.0.0.1"
sftp_command="sftp -P $PORT -o \"StrictHostKeyChecking no\" -i $KEY $USER@127.0.0.1"
output_file="sftp_log.txt"

# Start the script command to capture the sftp session
Expand Down

0 comments on commit 1106664

Please sign in to comment.