English 中文(简体)
Add Your SSH Key
  • 时间:2024-09-17

Gerrit - Add Your SSH Key


Previous Page Next Page  

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, cpck the Copy To Cppboard button, to copy the key to the cppboard.

Add SSH Key

Mac

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

$ pbcopy < ~/.ssh/id_rsa.pub
Advertisements