fix(ci): keyscan走48222,22已是蜜罐
deploy-test / build-and-deploy-test (push) Successful in 35s

This commit is contained in:
TomyS committed 2026-09-17 18:07:30 +08:00
1 parent 695b77a670
commit cf0f6e25e2
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
if [ ! -f /data/id_deploy ]; then echo "ERROR: /data/id_deploy 缺失,检查 runner 挂载"; exit 1; fi
cp /data/id_deploy ~/.ssh/id_ed25519_deploy && chmod 600 ~/.ssh/id_ed25519_deploy
ssh-keygen -lf ~/.ssh/id_ed25519_deploy
ssh-keyscan -H 156.233.226.86 >> ~/.ssh/known_hosts 2>/dev/null
ssh-keyscan -p 48222 -H 156.233.226.86 >> ~/.ssh/known_hosts 2>/dev/null
echo "SSH 密钥就绪"
- name: Build images