This commit is contained in:
parent
adfc3f1937
commit
6d2638897a
1 changed files with 2 additions and 2 deletions
|
@ -43,11 +43,11 @@ jobs:
|
|||
- name: "Setup: SSH"
|
||||
run: |
|
||||
mkdir /root/.ssh
|
||||
echo "${{ secrets.SSH_PUBLIC_KEY }}" > /root/.ssh/id_ed25519.pub
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
||||
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_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
||||
ssh -o "StrictHostKeyChecking=no" albert@100.64.0.14 "ls /Storage"
|
||||
# - name: "Nix build"
|
||||
# run: |
|
||||
|
|
Loading…
Reference in a new issue