Skip to content

Commit 18c47f3

Browse files
use local sshd config
1 parent e434afc commit 18c47f3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/sftp-benchmark.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,13 @@ jobs:
9595
run: |
9696
mkdir ~/.ssh
9797
touch ~/.ssh/authorized_keys
98-
cat ./keys/hansel-*.pub > authorized_keys
98+
touch authorized_keys_test
99+
echo "AuthorizedKeysFile wolfssh/keys/hansel-key-ecc.pub" >> sshd-config-test.txt
100+
echo "PubkeyAuthentication yes" >> sshd-config-test.txt
99101
chmod 600 ./keys/hansel-key-*.pem
100102
sudo mkdir -p /run/sshd
101103
sudo chmod 755 /run/sshd
102-
sudo /usr/sbin/sshd -p 22222 -h $PWD/keys/server-key.pem
104+
sudo /usr/sbin/sshd -p 22222 -h $PWD/keys/server-key.pem -f sshd-config-test.txt
103105
104106
- name: Run SFTP client benchmark
105107
working-directory: ./wolfssh/

0 commit comments

Comments
 (0)