Skip to content

Commit 1df8ac0

Browse files
adjust auth keys setup
1 parent f7c8a8e commit 1df8ac0

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
@@ -91,9 +91,11 @@ jobs:
9191
artifact_id: 'openssh-download'
9292

9393
- name: Put test key in authorized keys file
94+
working-directory: ./wolfssh/
9495
run: |
95-
touch ~/.ssh/authorized_keys_test
96-
cat ./keys/hansel-*.pub > authorized_keys_test
96+
mkdir ~/.ssh
97+
touch ~/.ssh/authorized_keys
98+
cat ./keys/hansel-*.pub > authorized_keys
9799
chmod 600 ./keys/hansel-key-*.pem
98100
sudo systemctl restart sshd
99101
sudo service sshd restart

0 commit comments

Comments
 (0)