Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a QNAP NAS where I installed Gitosis through Optware ipkg and it works so far. It's running under the user 'git'. The admin repo was initialized with the public key of my client machine like this:

/opt/bin/gitosis-init <

But whenever I log in it asks for the password and the login succeeds with the correct password.

In my openssh config I uncommented those lines and restarted the daemon:

# Protocol 2
HostKey /opt/etc/openssh/ssh_host_rsa_key
HostKey /opt/etc/openssh/ssh_host_dsa_key

I also found this question on StackOverflow. But all those solutions seem to address newly added users only as I'm already added in gitosis.conf and the key file is present, too. I'm also 100% sure I uploaded the public key file, not the private one as I started several times from scratch now (reinstalled everything).

It's really annoying to type the password for every git action. So help is very appreciated.

share|improve this question
Is there anything important missing or is there really nobody with any idea? – 0x6d48 May 6 '12 at 17:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.