Discuss / Git / 评论: 搭建Git服务器

评论: 搭建Git服务器

Topic source

周梦康

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

我是参考的 https://help.github.com/articles/generating-ssh-keys 生成的key,添加到github上,测试,正常连接。

但是我把这个公钥复制到自己的服务器的/home/git/.ssh/authorized_keys就怎么也连接不上,目前.ssh目录权限是 600 ,authorized_keys文件权限也是 600

一直提示有没有权限,仓库是否存在,我能ssh远程连接 22 端口也应该是开了的。


  • 1

Reply