From a30a70125a24c4f8dbb40344898f8f75201c69ed Mon Sep 17 00:00:00 2001 From: "kihwan.song" Date: Thu, 30 Apr 2026 20:18:07 +0900 Subject: [PATCH] =?UTF-8?q?ssh=20=EC=A4=80=EB=B9=84=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=ED=8F=AC=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot --- .DS_Store | Bin 0 -> 6148 bytes prepare-ssh/action.yml | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b9577faffbab9403f25422887352c46ea93a799f GIT binary patch literal 6148 zcmeHKJx{|h5IvV5DvD4?#t2wJbYKrv`U^TDB+_q0Ln>O3*z!}@_!VqO3@k`UY-MHV z7x2zDG*+9o140PhRleugclPsBW5-0Ks#mQFQJIK}D2(1Z+zjJ>E>l*pEu5@)jDELL zZzl0zDpDFm0a4&DDxhC{+NUm^(a3#&?><1-`|696Fl_Xb2HJ|9?%T=E^W%}*-?|`+~pbJW9gqb^ZLwhu&K1I}|bC<{3@x0h9ua|po^}+DU9Xn1YJeP@gcW^|lS?+~^78#nChPZfcgX*18Ryo2bS3MbN+H zvR3b4JvTnfeSG~|v;TtyIg=GEn=@k_peFW%3gFCUE0zq37X?HCQQ%tv-XDAv#=v4~ zP;VV@`U(K_(5wx0{-od>-(p}fHHaRVGO0k5s_Yd*nRK-KHZHK38Z_yo?Bzq*nU%ev zC_OvI_jNd_z@T_hKooElSTT=fKL2a^_kTA@o==ENAVVlHuU*i0R|RRgJ^-thk%wroG9?C3VZ_iC8ZDm literal 0 HcmV?d00001 diff --git a/prepare-ssh/action.yml b/prepare-ssh/action.yml index 9af13dd..8690184 100644 --- a/prepare-ssh/action.yml +++ b/prepare-ssh/action.yml @@ -6,6 +6,9 @@ inputs: required: true host: required: true + port: + required: false + default: "22" key-path: required: false default: ~/.ssh/deploy_key @@ -23,4 +26,4 @@ runs: printf '%s\n' "${{ inputs.ssh-key }}" > ${{ inputs.key-path }} chmod 600 ${{ inputs.key-path }} - ssh-keyscan -H "${{ inputs.host }}" >> ~/.ssh/known_hosts \ No newline at end of file + ssh-keyscan -p ${{ inputs.port }} -H "${{ inputs.host }}" >> ~/.ssh/known_hosts \ No newline at end of file