Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
Adding ssh key in git using linux
ssh key generating
Open terminal in your linux
Type the following command
ssh-keygen -o -b 4096
and press Enter to generate the new key.
Enter the file path in which to safe the key. Leave it at the default setting if you are creating your first key (which will be saved as id_rsa).
Set a passphrase, this step is not mandatory but highly recommended for increased security. The passphrase can be freely chosen. If no passphrase is required, press Enter:
Enter the passphrase again to confirm it. Then press Enter:
Sucessfully generated ssh key 😄 .
To get your SSH key, enter the following command in your terminal:
Copy the ssh key from your terminal.
Now login to your Git account [
To create SSH key, click on the SSH keys tab at left side of the menu bar.
Paste the key in the highlighted key box .
Click add key button