test
Some checks failed
ssh-test / ssh-test (push) Failing after 14s

This commit is contained in:
iFargle 2023-12-08 20:31:22 +09:00
parent 8f724b3e4e
commit adfc3f1937

View file

@ -43,6 +43,9 @@ jobs:
- name: "Setup: SSH" - name: "Setup: SSH"
run: | run: |
mkdir /root/.ssh mkdir /root/.ssh
chmod 700 /root/.ssh
chmod 600 /root/.ssh/id_ed25519
chmod 644 /root/.ssh/id_ed25519.pub
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519 echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
ssh -o "StrictHostKeyChecking=no" albert@100.64.0.14 "ls /Storage" ssh -o "StrictHostKeyChecking=no" albert@100.64.0.14 "ls /Storage"