生成ssh
bash
ssh-keygen -t rsa -C "your_email@template.com.cn"
重新生成ssh后,拉代码时遇见
![](https://img-blog.csdnimg.cn/direct/5e450a6244ab4c3ba6e7ffcf178b4424.png)
bash
remote:
remote: ========================================================================
remote:
remote: The project you were looking for could not be found or you don't have permission to view it.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.
and the repository exists.
原因:
重新生成ssh时,没有删除旧的id_rsa、id_rsa.pub
解决:
删除这两个文件之后,重新生成