Skip to content

Commit f75d8f1

Browse files
committed
[fix] EOF 에러 수정
1 parent 90b80c9 commit f75d8f1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ jobs:
6262
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/private_vm_key
6363
chmod 600 ~/.ssh/jump_key ~/.ssh/private_vm_key
6464
65-
ssh -o StrictHostKeyChecking=no \
66-
-o ProxyJump=${{ secrets.SSH_JUMP_USER }}@${{ secrets.SSH_JUMP_HOST }} \
67-
-i ~/.ssh/private_vm_key \
68-
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}
65+
ssh -tt \
66+
-o StrictHostKeyChecking=no \
67+
-o UserKnownHostsFile=/dev/null \
68+
-o ProxyJump=${{ secrets.SSH_JUMP_USER }}@${{ secrets.SSH_JUMP_HOST }} \
69+
-i ~/.ssh/private_vm_key \
70+
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << EOF
6971
7072
set -e
7173

0 commit comments

Comments
 (0)