2
This commit is contained in:
@@ -38,7 +38,8 @@ steps:
|
||||
- chmod 600 /root/.ssh/known_hosts
|
||||
|
||||
- echo "🔍 尝试SSH连接GitHub(详细日志)..."
|
||||
- export SSH_KEY_FORMAT=RSA && ssh-keygen -p -f /root/.ssh/id_ed25519 -N "" >/dev/null 2>&1
|
||||
# 重新执行命令(取消输出屏蔽),查看具体错误
|
||||
- export SSH_KEY_FORMAT=RSA && ssh-keygen -p -f /root/.ssh/id_ed25519 -N ""
|
||||
- ssh -vvv -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new git@github.com 2>&1
|
||||
# 拉取代码(拆分命令,避免静默失败)
|
||||
- git init
|
||||
|
||||
Reference in New Issue
Block a user