0
How to Add Your SSH Key in Gerrit?

Open 1 Answers 102 Views Technology
How to Add Your SSH Key in Gerrit?

1 Answer

0

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

Linux

Use the following command on Linux system to add SSH key

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

Windows

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

Mac

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

$ pbcopy < ~/.ssh/id_rsa.pub
by (249k points)
...