Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: Git push from bare repo

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:48:52

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help