File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112112 - name : Can sftp connect?
113113 working-directory : ./wolfssh/
114114 run : |
115- echo exit | sftp -vvv -P 22222 -i ./keys/hansel-key-ecc.pem $USER@127.0.0.1
115+ echo exit | sftp -vvv -P 22222 -o "StrictHostKeyChecking no" - i ./keys/hansel-key-ecc.pem $USER@127.0.0.1
116116
117117 - name : Run SFTP client benchmark
118118 working-directory : ./wolfssh/
@@ -123,7 +123,7 @@ jobs:
123123 - name : Print logs if failed
124124 working-directory : ./wolfssh/
125125 if : failure()
126- run : cat sshd-log.txt
126+ run : sudo cat sshd-log.txt
127127
128128 - name : Store Upload Speed PNG
129129 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1919
2020do_openssh_put_test () {
2121 cp $TEST_FILE $TEST_FILE -out
22- sftp_command=" sftp -P$PORT -i $KEY $USER @127.0.0.1"
22+ sftp_command=" sftp -P$PORT -o \" StrictHostKeyChecking no \" - i $KEY $USER @127.0.0.1"
2323 output_file=" sftp_log.txt"
2424
2525 # Start the script command to capture the sftp session
@@ -37,7 +37,7 @@ EOF" /dev/null 2>&1 | tee $output_file | while read line; do
3737
3838do_openssh_get_test () {
3939 cp $TEST_FILE $TEST_FILE -out
40- sftp_command=" sftp -P $PORT -i $KEY $USER @127.0.0.1"
40+ sftp_command=" sftp -P $PORT -o \" StrictHostKeyChecking no \" - i $KEY $USER @127.0.0.1"
4141 output_file=" sftp_log.txt"
4242
4343 # Start the script command to capture the sftp session
You can’t perform that action at this time.
0 commit comments