Skip to content

Commit ee7e7e1

Browse files
add sftp to sshd config
1 parent 18c47f3 commit ee7e7e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/sftp-benchmark.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,15 @@ jobs:
9898
touch authorized_keys_test
9999
echo "AuthorizedKeysFile wolfssh/keys/hansel-key-ecc.pub" >> sshd-config-test.txt
100100
echo "PubkeyAuthentication yes" >> sshd-config-test.txt
101+
echo "Subsystem sftp /usr/lib/openssh/sftp-server" >> sshd-config-test.txt
101102
chmod 600 ./keys/hansel-key-*.pem
103+
chmod 600 ./keys/hansel-key-*.pub
104+
chmod 700 ~/.ssh
102105
sudo mkdir -p /run/sshd
103106
sudo chmod 755 /run/sshd
104107
sudo /usr/sbin/sshd -p 22222 -h $PWD/keys/server-key.pem -f sshd-config-test.txt
108+
cat sshd-config-test.txt
109+
ps -e | grep sshd
105110
106111
- name: Run SFTP client benchmark
107112
working-directory: ./wolfssh/

0 commit comments

Comments
 (0)