Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Gitolite Essentials
  • Table Of Contents Toc
Gitolite Essentials

Gitolite Essentials

By : Sitaram Chamarty
4 (2)
close
close
Gitolite Essentials

Gitolite Essentials

4 (2)
By: Sitaram Chamarty

Overview of this book

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

Users with multiple key pairs


Some users have multiple key pairs. For instance, they use a laptop as well as a desktop at work. Some may have another machine at home, or work directly on a server.

You might think it's best to use the same key pair on each machine—after all, they all belong to the same user—but this is not a good idea. The risk of a private key compromise increases with the number of machines that it is installed on, and that would not be a good thing at all.

As a result, Gitolite allows a user to have multiple public keys. There are in fact two ways to associate multiple public key files to the same Gitolite user.

The first way is to use subdirectories. Here's an example tree structure of the gitolite-admin repository showing a set of keys in the keydir subdirectory:

As you can see, there are two files called carol.pub. Both of these will generate lines in the authorized keys file as described earlier, with the username set to carol. Whichever key she uses, Gitolite will see...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Gitolite Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon