If you install gitosis
on ubuntu-server 10.10 via apt-get:
sudo apt-get install gitosis
The post-install script will create a new gitosis
user.
This user will be used to allow people to connect with SSH using public keys. That is, without requiring each user to have their own account on your server:
git clone gitosis@server.com:project.git
git remote add origin gitosis@server.com:project.git
So far, so good. But:
I have seen many times and I personally prefer to use the git
username for that:
git clone git@server.com:project.git
git remote add origin git@server.com:project.git
- Is there any reason we use
gitosis
instead of simplygit
on ubuntu-server? - Should I avoid renaming the
gitosis
user togit
with:sudo usermod -l git gitosis
Any idea welcome