git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Ericsson <ae@op5.se>
To: "Goran Mekić" <meka@ns-linux.org>
Cc: git@vger.kernel.org
Subject: Re: Git push from bare repo
Date: Fri, 28 May 2010 11:15:17 +0200	[thread overview]
Message-ID: <4BFF89A5.7020802@op5.se> (raw)
In-Reply-To: <3197051701046e645c8ff2ae7dca872a@ns-linux.org>

On 05/28/2010 08:57 AM, Goran Mekić wrote:
> 
>      I have to push from first server to second (yeah, the names are great
> :o) when ever someone pushes to first server. It should be done using
> post-receive hook, for example. The problem is that I can not specify ssh
> key, and even if I could, anything but 600 perm for the key is rejected.
> What would be the best way to acomplish this? Thanx!
> 

Why can't you specify ssh key, and why can't you set the key to have perms
0600 and let it reside in a directory with perms 0700?

The post-receive hook is just a shell-script, basically.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

  reply	other threads:[~2010-05-28  9:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28  6:57 Git push from bare repo Goran Mekić
2010-05-28  9:15 ` Andreas Ericsson [this message]
2010-05-28 12:28   ` Goran Mekić
2010-05-28 12:59     ` BJ Hargrave
2010-05-29 11:01       ` Gelonida

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=4BFF89A5.7020802@op5.se \
    --to=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=meka@ns-linux.org \
    /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).