Skip to content

Commit

Permalink
host key skip
Browse files Browse the repository at this point in the history
  • Loading branch information
shensquared committed Aug 19, 2024
1 parent c2a2ffc commit 987e3b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ jobs:
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -p ${{ secrets.REMOTE_PORT }} -t rsa gradml.mit.edu>> ~/.ssh/known_hosts
ssh -p ${{ secrets.REMOTE_PORT }} -i ~/.ssh/id_rsa ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}
ssh -p ${{ secrets.REMOTE_PORT }} -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}

0 comments on commit 987e3b7

Please sign in to comment.