Skip to content

Instantly share code, notes, and snippets.

@sandys
Created May 18, 2012 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandys/2723167 to your computer and use it in GitHub Desktop.
Save sandys/2723167 to your computer and use it in GitHub Desktop.
Gitolite installation using a secure user
#Notice that when we created the user, we used –disable-password, which prevents us logging into the machine using a password. Therefore we’ll need to upload a ssh key for running the installer. Here, I will create a public and private keypair with the name id_rsa_gitolite.
sudo adduser --system --shell /bin/bash --gecos 'git version control' --group --disabled-password --home /home/gitolite gitolite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment