在linux上搭建Git服务器

参考文档:
http://progit.org/book/zh/ch4-4.html
http://help.github.com/msysgit-key-setup/

使用ssh-keygen生成key

Generating a key

如果要指定用户名

ssh-keygen -t rsa -C "[email protected]"


由git管理员把生成的pub key放到authorized_keys里,就实现了git论证。

猜你喜欢

转载自pure.iteye.com/blog/550099