- Gerrit Tutorial
SSH keys are an access credential used in SSH protocol (Secure Shell) which is a network protocol that helps to login from one computer to another securely, as well as to manage networks, operating systems, and configurations. An SSH key is an alternate way to identify yourself that doesn't require you to enter you username and password every time. SSH keys come in pairs, a public key that gets shared with services like GitHub, and a private key that is stored only on your computer. If the keys match, you're granted access.
- Setting up Git
- Set Up SSH Keys in Gerrit

Why We Need To Generate Ssh Key Github
- Prepare to work with Gerrit
- How to Submit a Patch
- How Code is reviewed in Gerrit
- Gerrit Useful Resources
Why We Need To Generate Ssh Key Gitlab
- Selected Reading
SSH stands for Secure Shell or sometimes Secure Socket Shell protocol used for accessing network services securely from a remote computer. You can set the SSH keys to provide a reliable connection between the computer and Gerrit.
You can check the existing SSH key on your local computer using the following command in Git Bash −
Why We Need To Generate Ssh Keys

After clicking the enter button, you will see the existing SSH key as shown in the following image −
If you don't find any existing SSH key, then you need to create a new SSH key.
Generating New SSH Key
You can generate a new SSH key for authentication using the following command in Git Bash −
Generate Ssh Key Windows
If you already have a SSH key, then don't a generate new key, as they will be overwritten. You can use ssh-keygen command, only if you have installed Git with Git Bash.
When you run the above command, it will create 2 files in the ~/.ssh directory.
Why We Need To Generate Ssh Key Linux
~/.ssh/id_rsa − It is private key or identification key.
~/.ssh/id_rsa.pub − It is a public tv.