Skip to content

Commit

Permalink
checking reachability with netcat
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerunjun committed Jun 25, 2024
1 parent 6626269 commit 8917f5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/wkflw.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2


- name: Check SSH port with IPv6
run: nc -6 -zv ${{ secrets.RPI_IP_DEV }} 22

- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -6 -H ${{ secrets.RPI_IP_DEV }} >> ~/.ssh/known_hosts
- name: Test SSH connection using IPv6
run: ssh -6 -v ${{ secrets.RASPBERRY_PI_UNAME }}@${{ secrets.RPI_IP_DEV }} exit

0 comments on commit 8917f5f

Please sign in to comment.