在将 deployKey 配置到码云的部署公钥之后,进行 Git 部署失败。我可以确定不是公钥配置错了,因为已经重置过很多次了,都不行。【另外,之前的还能用,不过重置公钥之后也失败了】
代码托管在码云 git@gitee.com
Appid :YRvUlQtRojKSSfkSbOAyaSGU-MdYXbMMI
[Node.js] 使用 Node.js v14.18.1, Node SDK 3.8.0, JavaScript SDK 4.12.0
[2021-12-12T09:36:27.432000000Z][system] 部署失败:获取项目代码失败: 无访问权限,请确认 deployKey 配置正确: run git clone --recursive --depth 1 -b
return 128: Cloning into '/tmp/tmp.vK9Yxzh9eN/app'... /home/ubuntu/.ssh/config line 6: Unsupported option "compressionlevel"
Load key "/tmp/tmp.vK9Yxzh9eN/private.key": invalid format
git@gitee.com: Permission denied (publickey).
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
我认为可能是 Unsupported option "compressionlevel"
这里出了问题