git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Aaron Gray" <aaronngray.lists@googlemail.com>
To: "Julian Phillips" <julian@quantumfyre.co.uk>
Cc: <git@vger.kernel.org>
Subject: Re: git & ssh on F10 server
Date: Sat, 18 Apr 2009 16:58:33 +0100	[thread overview]
Message-ID: <56F224865B074F398A67811CD80984C0@HPLAPTOP> (raw)
In-Reply-To: alpine.LNX.2.00.0904181632150.20139@reaper.quantumfyre.co.uk

> 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

>> 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. 

  reply	other threads:[~2009-04-18 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17 15:56 git & ssh on F10 server Aaron Gray
2009-04-17 16:19 ` Julian Phillips
     [not found]   ` <FD77671D77E2465097BD60A1E144BB91@HPLAPTOP>
2009-04-17 17:17     ` Julian Phillips
2009-04-17 18:00       ` Aaron Gray
2009-04-18 15:12       ` Aaron Gray
2009-04-18 15:34         ` Julian Phillips
2009-04-18 15:58           ` Aaron Gray [this message]
2009-04-18 18:07           ` push git: failing Aaron Gray
2009-04-18 15:37       ` git & ssh on F10 server Aaron Gray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F224865B074F398A67811CD80984C0@HPLAPTOP \
    --to=aaronngray.lists@googlemail.com \
    --cc=git@vger.kernel.org \
    --cc=julian@quantumfyre.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).