Book Image

Gitolite Essentials

By : Sitaram Chamarty
Book Image

Gitolite Essentials

By: Sitaram Chamarty

Overview of this book

Table of Contents (19 chapters)
Gitolite Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Accessing Gitolite repositories


With the background from the previous section, we're ready to see how things change when a user goes through Gitolite to access a Git repository.

Note

This section will contain the basic material that most administrators would need to provide to their users, or to explain to them how to access a Gitolite server. However, depending on your users' familiarity with ssh and related topics, you may have to expand this material with supplementary information, examples, or instructions specific to your site.

SSH key pairs

The most significant change is that password access is no longer possible; users must use a key pair and send the public key to the administrator so that they can be added to Gitolite. If this does not happen, Gitolite has no way to recognize the user.

If they don't already have an ssh key pair, they should generate one on their own workstations.

Your users will need to use the ssh-keygen command to create the key pair. This creates two files, which are...