Re: git & ssh on F10 server
- From
Julian Phillips <julian@quantumfyre.co.uk>
- Date
- Apr 18, 2009, 15:34 UTC
- Message-ID
- <alpine.LNX.2.00.0904181632150.20139@reaper.quantumfyre.co.uk>
- In-Reply-To
- <DD909F216D254CDAB2A0C0847AEB75C0@HPLAPTOP>
On Sat, 18 Apr 2009, Aaron Gray wrote:
Show 33 quoted lines
>> 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? What version of git are you using (client and server)?
Do you get any output logged by the git daemon?
> 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.