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

Re: (osx 10.4.11) can't push from linux to Apache on mac: can't access location

From
Dddw_music <jamshark70@gmail.com>
Date
Jun 13, 2010, 11:56 UTC
Message-ID
<1276430179137-5174101.post@n2.nabble.com>
In-Reply-To
<m3iq5np602.fsf@localhost.localdomain>
Jakub Narebski wrote:
Show 6 quoted lines
> 
> Why can't you use SSH for pushing instead of "dumb" HTTPS via WebDAV?
> This would require having sshd (SSH daemon, i.e. SSH server) installed,
> and perhaps Gitosis or Gitolite for access control (so one can use only
> single shell account).
> 

I'll consider that later on. For the moment -- I spent probably five or six hours today and fiddling around with the configuration, and I don't have time to look at any other tools (gitosis etc). (At least osx comes with "Remote Login" == sshd preinstalled.)

While experimenting with git-daemon this morning, I did get the functionality that I need working by enabling receive-pack. Yes, I know that's a security risk, but I'm the only user, behind a hardware router (no exposed IP address) and I will have the daemon running only for a few minutes at a time when needed for sync.

I realize this isn't the "correct" or "optimal" configuration, but I know that it will work for the moment and, as stated, I simply won't have any further time for experimentation for the next few weeks.

> P.S. You did run git-update-server-info (and added it to 'update' hook),
> didn't you?
> 
Yes, no help.

Thanks, in any case - it's a good tip for the future (and word to the wise to git noobs who find this in the list archives: avoid HTTP!).

James
-- 
View this message in context: http://git.661346.n2.nabble.com/osx-10-4-11-can-t-push-from-linux-to-Apache-on-mac-can-t-access-location-tp5173157p5174101.html
Sent from the git mailing list archive at Nabble.com.
Previous: Jakub NarebskiNext: Jakub Narebski
Message 7 of 9 in “(osx 10.4.11) can't push from linux to Apache on mac: can't access location”
  1. ddw_musicJun 13, 2010
  2. Tay Ray ChuanJun 13, 2010
  3. ddw_musicJun 13, 2010
  4. Tay Ray ChuanJun 13, 2010
  5. ddw_musicJun 13, 2010
  6. Jakub NarebskiJun 13, 2010
  7. ddw_musicJun 13, 2010
  8. Jakub NarebskiJun 13, 2010
  9. mobi philJun 17, 2010

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.