mac下生成ssh,配置到码云上不能用

给你一囗甜甜゛ 提交于 2019-12-11 12:05:22

ogon:~ root# cd /deng/code/idea-store/
bogon:idea-store root# git clone git@gitee.com:easy-world/RocektMQ.git
Cloning into ‘RocektMQ’…
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.

报这个错
解决:
先运行 eval ssh-agent -s
再输入 ssh-add ~/.ssh/id_rsa

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!