O'Reilly logo

Learning Gerrit Code Review by Luca Milanesio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 id_rsa.pub) will be used for the user identification while the private ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required