明明是我自己github库,克隆下来目录没有,怎么回事?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
deii
帖子: 146
注册时间: 2018-04-24 20:06

明明是我自己github库,克隆下来目录没有,怎么回事?

#1

帖子 deii » 2018-06-27 20:54

代码: 全选

deii@deii-TVB01:~$ git clone git@github.com:dkgdsc/practice.git
正克隆到 'practice'...
The authenticity of host 'github.com (13.250.177.223)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
曾格式化过(没使用超级用户权限),后重新配置了名字、地址以及创建SSH Key。
onlylove
论坛版主
帖子: 5208
注册时间: 2007-01-14 16:23

Re: 明明是我自己github库,克隆下来目录没有,怎么回事?

#2

帖子 onlylove » 2018-06-27 23:01

原来的key没了吧?重新添加ssh key

https://help.github.com/articles/review ... -ssh-keys/
回复