How to set up a Windows Git server c web muzzle and SSH?

Good day!

Dear harrowdene share experience installing and configuring Git for Windows (2003 or 2008). I would also like to have a convenient web muzzle, in which it would be convenient to view the history. I will also be glad to hear options for configuring access rights using Windows Active Directory and of course access via SSH.

Thank you.
October 8th 19 at 03:12
6 answers
October 8th 19 at 03:14
I installed without cygwin, msysgit only (“Run from the Windows command prompt”):

Write the global settings to work correctly in the Windows command prompt:
core.quotepath false
i18n.commitencoding cp1251
i18n.logoutputencoding cp866
core.pager cat|
core.editor notepad.exe

Custom variable %HOME% to a directory in which there are no gaps and Cyrillic characters.

But for the SSH keys will have to get a tambourine!
Key generation:
ssh-keygen-t rsa -C ""

ssh-keygen comes with msysgit, the main setup %patch% if it did not the installer.
The keys copied into the folder %home%\.ssh\
Vypolnyaem team
ssh-agent cmd.exe

open command prompt with ssh support. Add our key to the agent
ssh-add %home%/.ssh/<imapitable>

The agent will request the password key. You can now work with git on the command line, as usual.

Previously the public key to copy to github or bitbucket (how it works).

Local web muzzle is called through
git instaweb --httpd=webrick
from the working copy folder of the repository (but not much kick — I have not tried to run it in Windows)

In General, perhaps it will bring you to the correct path according to the first paragraph of the question. About AD won't say anything.
That is, you web the face is not used? I would like to have access to the web muzzle is about the same as users having access to the server via SSH or GIT - Garrick_Marks commented on October 8th 19 at 03:17
I use external repositories of type bitbucket (github). git instaweb starts a local httpd daemon (, and apparently can get through to him from another machine by specifying its IP address. But it is only for viewing the repository. To commit do you need to configure a remote repository:
$ git remote add remote 
but it is necessary to specify what protocols it works, most likely through a regular shared Windows folder. Then from the local machine you can fill (git push remote) changes in the remote, where you can browse through web a muzzle, which was raised through instaweb - Marlon.Larkin74 commented on October 8th 19 at 03:20
git and ssh did not initially use technology, and especially poorly they communicate with active directory. I think you need to drop ssh and to work with ad, configuring the appropriate access rights to the remote folder with the repository. Well, browsing the web, face to try to control through Basic access authentication (Active Directory LDAP authentication) - Marlon.Larkin74 commented on October 8th 19 at 03:23
October 8th 19 at 03:16
tried here is really since launch ssh-user-config went error on the client... - Garrick_Marks commented on October 8th 19 at 03:19
October 8th 19 at 03:18
The dev with linux-om? In 2008 has Hyper-V And migrate, if that is convenient.
I would like to put Windows at once... but then it seems you should be able to knock the drum =( - Garrick_Marks commented on October 8th 19 at 03:21
October 8th 19 at 03:20
Have You tried the tonsils autogenous cutting through the anus to remove?
git version control system written by the author of the Linux kernel for Linux will not believe.
Use Windows for what he created, and Linux for what it is and don't need any drums.
October 8th 19 at 03:22
October 8th 19 at 03:24
Simple setup GIT server on Windows
"Gitwin Free Edition is no longer available."

But the comments in the article can be useful.

Find more questions by tags Git