Gerrit - Add Your SSH Key

You can add SSH key to the ssh-agent on different platforms discussed further.


Use the following command on Linux system to add SSH key

cat /home/<local-user>/.ssh/


Open the GIT GUI and go to Help → Show SSH Key as shown in the following image.

Add SSH Key

Then, click the Copy To Clipboard button, to copy the key to the clipboard.

Add SSH Key


In Mac OS X, you can copy contents to the clipboard using the following command.

$ pbcopy < ~/.ssh/
Kickstart Your Career

Get certified by completing the course

Get Started