This commit is contained in:
1
2026-01-27 08:19:38 +00:00
parent ec1c39295e
commit a7fe9df9cd

View File

@@ -56,6 +56,9 @@ steps:
# 替换原SSH认证判断代码 # 替换原SSH认证判断代码
- | - |
echo "✅ 当前Shell是$SHELL"
echo "✅ 当前工作目录:$(pwd)"
echo "✅ 密钥文件是否存在:$(ls -lh /root/.ssh/id_ed25519)"
ssh_output=$(ssh -vvv -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new git@github.com 2>&1) ssh_output=$(ssh -vvv -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new git@github.com 2>&1)
echo "===== 完整SSH连接日志 =====" echo "===== 完整SSH连接日志 ====="