From b18281f88ecadba2f4ca386d3160eefd6787ca6c Mon Sep 17 00:00:00 2001 From: Chengming-Li <115936688+Chengming-Li@users.noreply.github.com> Date: Fri, 5 Apr 2024 00:15:10 -0700 Subject: [PATCH] Update cd-branch.yml --- .github/workflows/cd-branch.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cd-branch.yml b/.github/workflows/cd-branch.yml index e85906a54..ed933b657 100644 --- a/.github/workflows/cd-branch.yml +++ b/.github/workflows/cd-branch.yml @@ -25,3 +25,5 @@ jobs: run: | mkdir -p ~/.ssh echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh -o StrictHostKeyChecking=no -p 22 root@hozer-51.ocf.berkeley.edu "echo 'SSH connection established!'"