add ssh to github 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
ssh-keygen -t ed25519 -C "[email protected]"
Example 4: add ssh to github
$ clip < ~/.ssh/id_ed25519.pub
Example 5: adding ssh in github
$ clip < ~/.ssh/rsa.pub
Example 6: github how to add ssh key
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa