Skip to content

Commit

Permalink
Attempt to add keepalive for SSH
Browse files Browse the repository at this point in the history
  • Loading branch information
techflashYT authored Apr 21, 2024
1 parent df2ba53 commit 5a89be1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
echo "Host *\
ServerAliveInterval 5
" > ~/.ssh/config
# bit paranoid, but prevent cracking the pubkey
echo "${{ secrets.SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub
Expand Down

0 comments on commit 5a89be1

Please sign in to comment.