Using SSH with Gerrit

SSH is a much more robust and secure authentication system in the tunneling of commands and it is the most widely used protocol combination used with Git over the Internet.

Git/SSH Client keys

Git secure shell protocol is built on top of OpenSSH, the most widely used open source implementation of the SSH protocol and this is why Gerrit uses OpenSSH keys by default. When using other SSH implementations (that is Putty on Microsoft Windows), keys need to be converted in OpenSSH format before being inserted in Gerrit.

In order to start using Git/SSH we need to generate a key-pair (public key + private key) using either RSA or DSA algorithms. The public key (that is will be used for the user identification while the private ...

Get Learning Gerrit Code Review now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.