From: Julian Phillips Date: Fri, 17 Apr 2009 17:17:28 GMT Subject: Re: git & ssh on F10 server Message-ID: In-Reply-To: On Fri, 17 Apr 2009, Aaron Gray wrote: > Julian, > > Thanks for the response. Not a problem, but please keep the mailing list on the CC ... >> 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= 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. >> > So now am trying to get git to work over ssh. The repositories are >> > located /pub/git/*/.git >> > >> > Basic attempts using BerliOS'es instructions for client end failed. >> > >> > >> > http://developer.berlios.de/docman/display_doc.php?docid=1812&group_id=2 >> > >> > Could someone please help us with this. >> > >> > Aaron >> >> You haven't said what commands you tried, nor what the errors you received >> were, so it's a bit hard to say what went wrong ... >> > > git push ssh://ang@git.site.org/pub/git/llvm/trunk milestone1 > Pushing to ssh://ang@git.site.org/pub/git/llvm/trunk > fatal: exec ssh failed. > fatal: The remote end hung up unexpectedly Sounds like git didn't find ssh on your path. What version of git is this btw? > A clone failed simularly > > I was expecting it to ask for a password. Should I try a DSA certificate ? > > Thanks, > > Aaron > > -- Julian --- "It's my cookie file and if I come up with something that's lame and I like it, it goes in." -- karl (Karl Lehenbauer)