获取远程库时,出现错误的解决

在新的电脑设备获取远程库的数据时,提示以下错误:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

原因是在新的设备我没有配置ssh,因此github会拒绝我的请求,解决方式是在新的设备上配置ssh:

详解见以下链接

http://segmentfault.com/a/1190000002645623

posted @ 2015-10-20 13:16  雨神_YuShen  阅读(151)  评论(0编辑  收藏  举报