> The directions mentioned nothing about setting up a "git" user so I set one
> up as a admin (since everyone is going to be going through this user to
> authenticate with my server). I then ran gitolite setup for the "git" user
> (again assuming everyone goes through the git user that has authorized_keys
> with various "commands=" in it). I copied MY .pub key into the "git" user
> authorized_keys file in the .ssh directory (actually appended, properly)
> and I'm getting this error when I attempt to clone to my machine from where
> I setup gitolite.
Can you try to remove your ssh key that let's you get shell access on
the server and try git clone again?
Most probably you've run into this problem.
http://sitaramc.github.com/gitolite/sts.html#ybpfail
If you really want shell access to the server and gitolite access then
you need two keys *and* you have to make sure that git does not take the
key that gives you shell access. You would do this by setting up
~/.ssh/config. Sitaram used to have a site for g2 where he described it.
I'm still running g2, but it's probably the same with g3.
I've something like this in my ~/.ssh/config
=====================
Host gitolite
IdentityFile ~/.ssh/gitolite
HostName
gitserver.example.com
User git
Host gitshell
IdentityFile ~/.ssh/id_rsa
HostName
gitserver.example.com
User git
=====================
Then "ssh gitshell" brings me into a shell onto the gitserver (it uses
id_rsa), while "git clone gitolite:somerepo" would clone a repository
(by using the key ~/.ssh/gitolite.pub that was meant for gitolite access).
Hope that helps.
Ralf