Using command=""
in authorized_keys
, I can restrict the commands that can be run by a particular key.
What commands do I need to allow in order to have a functioning git remote?
From the Pro Git book I can infer that git-upload-pack
and git-receive-pack
are required, but is there anything else?
Note I still want to be able to log into the user normally, just not with this key.