Skip to content

Commit

Permalink
fix ssh connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Apr 9, 2024
1 parent 85932cf commit e0252f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-archival-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,8 @@ jobs:
ssh-private-key: ${{ secrets.ARCHIE_PRIVATE_KEY }}

- name: Verify SSH key
run: ssh -o ProxyCommand='/usr/local/bin/cloudflared access ssh --hostname %h' archie.chainsafe.dev "echo 'SSH connection successful'"
run: |
echo "${{ secrets.ARCHIE_PRIVATE_KEY }}" > ssh_key
chmod 600 ssh_key
ssh -o ProxyCommand='/usr/local/bin/cloudflared access ssh --hostname %h' -i ssh_key archie.chainsafe.dev "echo 'SSH connection successful'"
shell: bash

0 comments on commit e0252f7

Please sign in to comment.