1
This commit is contained in:
@@ -36,7 +36,8 @@ steps:
|
||||
# 添加GitHub主机密钥(完整覆盖,避免重复)
|
||||
- ssh-keyscan -H github.com > /root/.ssh/known_hosts
|
||||
- chmod 600 /root/.ssh/known_hosts
|
||||
|
||||
# 检查私钥是否能被解析(关键测试)
|
||||
- ssh-keygen -lf /root/.ssh/id_ed25519
|
||||
- echo "🔍 尝试SSH连接GitHub(详细日志)..."
|
||||
# 重新执行命令(取消输出屏蔽),查看具体错误
|
||||
|
||||
|
||||
Reference in New Issue
Block a user