原文:Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights

第一次提交遇到这样的情况,怎么回事呢,我在github上提交了ssh key 的啊。 排查先看看能不能解析, .先ping https: github.com 把ip添加到 host : sudo vi etc hosts 添加下面第三行 .如果不行的话看看自己有没有输入错误的创库地址 查看配置 cat .git config . 现在提交还出现 那就是github 上的ssh key 添加错了 ...

2018-01-06 17:07 0 1303 推荐指数:

查看详情

not read from remote repository. Please make sure y

这个应该是很多github新手经常出错的问题,这个就是没有在你github上添加一个公钥。 下面就直接说步骤: 1 可以用 ssh -T git@github.com去测试一下 图上可以明显 ...

Wed Jul 27 16:58:00 CST 2016 0 47335
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM