搭建gitosis

2017-04-06  本文已影响0人  扳手扳死你

参考https://git-scm.com/book/zh/v1/%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E7%9A%84-Git-Gitosis
或者http://blog.csdn.net/dddxxxx/article/details/49050145
进行安装、配置

补充:
发现用户名中若包含. 则权限无法校验通过 比如xxx@qq.com这种, gitosis-admin仓库中的gitosis.conf 及keydir中的命名为abc  abc.pub
若.ssh文件夹中有多个key  可在.ssh/config 中指定那些ip对哪个key, 例如:

HOst 127.0.0.1
KexALgorithms +diffie-hellman-group1-sha1
IdentityFile ~/.ssh/local.pub
User local

上一篇 下一篇

猜你喜欢

热点阅读