Skip to content

Commit e8195cb

Browse files
start up a sshd server instead of trying to restart it
1 parent 971cef2 commit e8195cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sftp-benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ jobs:
9797
touch ~/.ssh/authorized_keys
9898
cat ./keys/hansel-*.pub > authorized_keys
9999
chmod 600 ./keys/hansel-key-*.pem
100-
sudo systemctl restart sshd || sudo service sshd restart
100+
sudo /usr/sbin/sshd -p 22222 -h $PWD/keys/server-key.pem
101101
102102
- name: Run SFTP client benchmark
103103
working-directory: ./wolfssh/
104104
run: |
105-
./scripts/get-sftp-benchmark.sh
105+
./scripts/get-sftp-benchmark.sh 22222
106106
107107
- name: Store Upload Speed PNG
108108
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)