add ssh key to git repo 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: create ssh key mac github
$ ssh-keygen -t ed25519 -C "[email protected]"
Example 4: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]