vishwajeet singh venit, vidit, dixit 31.07.2012 05:19: > On Tue, Jul 31, 2012 at 8:40 AM, Konstantin Khomoutov > <kostix+git@xxxxxxxxx> wrote: >> On Tue, Jul 31, 2012 at 08:36:07AM +0530, vishwajeet singh wrote: >> >>> Just wanted to know the difference between smart http and ssh and in >>> what scenarios we need them >>> I am setting up a git server, can I just do with smart http support >>> or I need to enable the ssh support to use git effectively. >>> As I understand github provides both the protocols, what's the reason >>> for supporting both protocols. >> http://git-scm.com/book/en/Git-on-the-Server-The-Protocols >> http://git-scm.com/2010/03/04/smart-http.html >> > > Thanks for the links, I have already gone through those links, was > looking from implementation perspective do I really need to support > both protocols on my server or I can just do with smart http and > what's the preferred way of doing it smart http or ssh > > You need to provide what your users demand ;) Seriously, this is why GitHub and other providers offer both. Not only are some users more comfortable with one protocol or the other (Win users don't prefer ssh generally) but some might be able to use only one because of firewalls or corporate rules. >From the server perspective, the setup is completely different, of course. Do you have shell accounts already which you want to reuse for ssh+git? Do you prefer setting up a special purpose shell account (gitosis/gitolite) or setting up a web server with authentication? Michael -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html