Discuss / Git / 第六步也没搞定

第六步也没搞定

Topic source

廖i雪

#1 Created at ... [Delete] [Delete and Lock User]
Cloning into 'sample'...
Permission denied (publickey).
fatal: Could not read from remote repository.

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

廖i雪

#2 Created at ... [Delete] [Delete and Lock User]

搞定了

我也遇到这个问题了,请问你是怎么做的啊???

哪边的权限出了问题吗,我也碰到了

我是这样解决权限问题的。 在/home/git目录下的任何文件,我都是切换到git账户建立的。

feilsway_2012

#6 Created at ... [Delete] [Delete and Lock User]

我也有这问题。首先在第三步创建git用户,下面就没有.ssh,后来我切换到git用户下手动创建的,把客户端用户的公钥加到.ssh/authorized_keys下面了。但是后来clone还是错误,跟你的提示一样


  • 1

Reply