# How to config git-daemon?

2 messages from 2008-12-08 to 2008-12-08. Participants: Ren LingYan-E5949C, LIU JIN-YU-KFQP84.
Thread: https://gitlist.dev/t/16634

## Ren LingYan-E5949C, 2008-12-08 06:27

Subject: How to config git-daemon?
Message-ID: <D13CA5792E8D5140A50EEDB89972CDCB053E21AA@zmy16exm63.ds.mot.com>
URL: https://gitlist.dev/e/D13CA5792E8D5140A50EEDB89972CDCB053E21AA%40zmy16exm63.ds.mot.com

```
Hello,
 
I want to public my repository testproject, which can be accessed by git
protocol. 
 
My steps are as below:
 
On Server machine (for example 10.194.66.71) 1. Created testproject
under /home/e5949c/repositories 2. Created a file "git-daemon-export-ok"
under testproject/ .git directory.
3. Run command "git daemon --verbose --export-all"
 
On test machine
1. Run command "git clone
git://10.194.66.71/home/e5949c/repositories/testproject.git". Error as
below :
 
Initialized empty Git repository in
/export/home/e5949c/repositories/test/testproject/.git/
fatal: The remote end hung up unexpectedly
 
Can anyone help me on this error? What did I miss ? 

Your help will be highly appreciated !
 
Thanks,
Emily 

```

## LIU JIN-YU-KFQP84, 2008-12-08 07:36

Subject: RE: How to config git-daemon?
Message-ID: <DFC883208F3ED446B46EEE1DBD54BA950633D137@zmy16exm62.ds.mot.com>
URL: https://gitlist.dev/e/DFC883208F3ED446B46EEE1DBD54BA950633D137%40zmy16exm62.ds.mot.com
In-Reply-To: <D13CA5792E8D5140A50EEDB89972CDCB053E21AA@zmy16exm63.ds.mot.com>

```
 
Hi,

Try to check if GIT_PROXY_COMMAND is set and your proxy can accept
internal address.

Regards
Simon Liu

-----Original Message-----
From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On
Behalf Of Ren LingYan-E5949C
Sent: Monday, December 08, 2008 2:28 PM
To: git@vger.kernel.org
Subject: How to config git-daemon?

Hello,
 
I want to public my repository testproject, which can be accessed by git
protocol. 
 
My steps are as below:
 
On Server machine (for example 10.194.66.71) 1. Created testproject
under /home/e5949c/repositories 2. Created a file "git-daemon-export-ok"
under testproject/ .git directory.
3. Run command "git daemon --verbose --export-all"
 
On test machine
1. Run command "git clone
git://10.194.66.71/home/e5949c/repositories/testproject.git". Error as
below :
 
Initialized empty Git repository in
/export/home/e5949c/repositories/test/testproject/.git/
fatal: The remote end hung up unexpectedly
 
Can anyone help me on this error? What did I miss ? 

Your help will be highly appreciated !
 
Thanks,
Emily 

```
