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