Skip to content

Commit 697e94c

Browse files
committed
looks like it is not that simple to get gh actions to trust sshfp
1 parent 71d05a2 commit 697e94c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
with:
3434
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
3535

36-
- name: Enable SSHFP checking
36+
- name: Add remote host to known_hosts
3737
run: |
3838
mkdir -p ~/.ssh
39-
echo "Host trinity.hacklab.fi
40-
VerifyHostKeyDNS yes
41-
StrictHostKeyChecking yes" >> ~/.ssh/config
39+
echo "trinity.hacklab.fi ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEbuUzPWSkuCC/iAE2KgxnCO22+9MLdTfTGLiVFOC6gm" >> ~/.ssh/known_hosts
4240
4341
- name: Deploy to server via rsync
4442
run: |

0 commit comments

Comments
 (0)