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 < my-key.pub
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.