This commit is contained in:
1
2026-01-27 08:32:17 +00:00
parent e83f1f4879
commit 048936b509

View File

@@ -59,12 +59,7 @@ steps:
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)
echo "===== 完整SSH连接日志 ====="
echo "$ssh_output"
echo "===== SSH日志结束 ====="
- |
if echo "$ssh_output" | grep -q "successfully authenticated"; then
echo "✅ SSH认证成功忽略正常的Exit status 1"
else