Skip to content

Commit

Permalink
check ssh connection
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-shashank committed Apr 10, 2024
1 parent 9b55ec9 commit a7142f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-archival-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ jobs:
- name: Verify SSH key
run: |
ssh-keyscan -t rsa archie.chainsafe.dev >> ~/.ssh/known_hosts
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'"
ssh -o ProxyCommand='/usr/local/bin/cloudflared access ssh --hostname %h' archie.chainsafe.dev "echo 'SSH connection successful'"
shell: bash

0 comments on commit a7142f5

Please sign in to comment.