Heres the closest I've gotten: I installed gitolite in the
/Private folder using
sudo apt-get install ecryptfs-utils
ecryptfs-setup-private then the rest was configuring gitolite using a root install).
It worked just fine as long as someone was logged in as the user
git using a password (
su git using root does not work). Since the private folder activates through logging in with a password and gitolite uses RSA keys (required) the private folder is hidden thus error occurs.
Is there a way I can log into my server after a reboot, type in the password and have the git user private folder available until next time the machine restarts?
Or maybe theres an easy way to encrypt a folder for git repositories?