add ssh key to repository code example
Example 1: add ssh key to github
ssh-add -l
ssh-keygen -t rsa -b 4096 -C your__gmail
sudo apt install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
DONE!!!
Example 2: add ssh key to github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 3: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]
Example 4: github how to add ssh key
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa