git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git & ssh on F10 server

From
AGAaron Gray <aaronngray.lists@googlemail.com>
Date
Apr 18, 2009, 15:58 UTC
Message-ID
<56F224865B074F398A67811CD80984C0@HPLAPTOP>
In-Reply-To
<alpine.LNX.2.00.0904181632150.20139@reaper.quantumfyre.co.uk>
Show 39 quoted lines
> On Sat, 18 Apr 2009, Aaron Gray wrote:
>
>>>  On Fri, 17 Apr 2009, Aaron Gray wrote:
>>> > >   On Fri, 17 Apr 2009, Aaron Gray wrote:
>>> > >
>>> > > >   Hi,
>>> > > >
>>> > > >  we have a Fedora 10 server in SELinux enforcing mode setup 
>>> > > > running git-deamon and gitweb (with home grown SElinux policy).
>>> > > >
>>> > > >  Anyway now we find out you cannot do a 'push' over the basic git 
>>> > > > protocol, back to the server repository.
>>> > >
>>> > >  You can push over git://, but you get no authentication mechanism 
>>> > > so it's
>>> > >   disabled by default.  It's only really useful if you trust 
>>> > > everyone who
>>> > >   has IP access to the server.
>>> >
>>> >  How do go about I enabling it ?
>>>
>>>  You have to enable the receive-pack service.  You can either enable it 
>>> for
>>>  all repositories by using the --enable=<service> option to git-daemon, 
>>> or
>>>  on a per-repository basis by setting daemon.receivepack to true in the
>>>  repositories that you want to enable push for.
>>
>> Okay I have added the following to 'config' :-
>>
>> [daemon]
>>        receivepack = true
>>
>> and done an 'service xinetd restart' just in case, probably not needed.
>>
>> I have tried a 'git push git://.../repo' but it is hanging, btw I am 
>> using Cygwin on the client, and F10 on the server.
>
> What output do you get?
None.
>  What version of git are you using (client and server)?
Server: F10
        git is version 1.6.0.6
        git-daemon 1.6.0.6-3.fc10.i386
Client: Cygwin
        git is version 1.6.1.2
> Do you get any output logged by the git daemon?

I dont seem to have logging on at all. How do I enable it ? I am running git-daemon via xinetd

Aaron
Show 10 quoted lines
>> Trying to clone an empty repository also hangs. btw I have sucessfully 
>> cloned big repositories.
>>
>> Aaron
>
> -- 
> Julian
>
>  ---
> Yes, but every time I try to see things your way, I get a headache. 
Previous: Julian PhillipsNext: Aaron Gray
Message 7 of 9 in “git & ssh on F10 server”
  1. Aaron GrayApr 17, 2009
  2. Julian PhillipsApr 17, 2009
  3. Julian PhillipsApr 17, 2009
  4. Aaron GrayApr 17, 2009
  5. Aaron GrayApr 18, 2009
  6. Julian PhillipsApr 18, 2009
  7. Aaron GrayApr 18, 2009
  8. push git: failingAaron Gray, Apr 18, 2009
  9. Aaron GrayApr 18, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.