[gitorious] Gitorious local install attempting to write ssh keys to /home/root/.ssh/authorized_keys

2012-04-05 Thread Gregory Rice
Hey guys, My local install is writing to the wrong authorized_keys location instead of /home/git/.ssh/authorized_keys. I know this from the messaging log when I try to add another public key: Rails available: Adding dispatcher prepare callback. Rails available: Adding dispatcher prepare callback

Re: [gitorious] Gitorious local install attempting to write ssh keys to /home/root/.ssh/authorized_keys

2012-04-05 Thread Thomas Kjeldahl Nilsson
Hi Gregory, In a stock Gitorious install the Rails server process should be run by the git user, not root: ie. changes to ~/.ssh/authorized_keys should resolve to the git user home directory, not roots .ssh. So if you run everything as root you will have problems. Could this be the problem?

Re: [gitorious] Gitorious local install attempting to write ssh keys to /home/root/.ssh/authorized_keys

2012-04-06 Thread Kelketek Titikilik Rritaa
There should be a setting in your config/gitorious.yaml file concerning which user is being used. You may also need to specifically specify the home environment variable in environment.rb with a line like: ENV['HOME'] = '/home/git' On Fri, Apr 6, 2012 at 1:55 AM, Thomas Kjeldahl Nilsson wrote: >

Re: [gitorious] Gitorious local install attempting to write ssh keys to /home/root/.ssh/authorized_keys

2012-04-12 Thread Marius MÃ¥rnes Mathiesen
On Fri, Apr 6, 2012 at 1:46 PM, Kelketek Titikilik Rritaa < kelke...@gmail.com> wrote: > There should be a setting in your config/gitorious.yaml file > concerning which user is being used. You may also need to specifically > specify the home environment variable in environment.rb with a line > lik