MAC OS crontab 执行git提交报错 Permission denied

MAC OS crontab 执行git提交报错无权限

.sh 文件可以在命令行直接提交。但是配置 crontab 自动化脚本后执行报错:

git@gitee.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.


湖上湖
浏览 814回答 1
1回答

江户川乱折腾

我记得应该生产一个公钥 key,发送给 git 上。
打开App,查看更多内容
随时随地看视频慕课网APP